Mercurial > hg > CbC > CbC_xv6
changeset 357:e194c940c664
fix Getopt
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 15 Jun 2020 18:41:01 +0900 |
parents | 599ad98aee00 |
children | d2389a757323 |
files | src/gearsTools/generate_context.pl src/gearsTools/generate_stub.pl |
diffstat | 2 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gearsTools/generate_context.pl Mon Jun 15 18:29:09 2020 +0900 +++ b/src/gearsTools/generate_context.pl Mon Jun 15 18:41:01 2020 +0900 @@ -45,11 +45,11 @@ our($opt_o,$opt_d,$opt_h,$opt_w, $opt_project); GetOptions( - "o=s" => \$opt_o, - "d=s" => \$opt_d, - "h" => \$opt_h, - "w" => \$opt_w, - "project" => \$opt_project, + "o=s" => \$opt_o, + "d=s" => \$opt_d, + "h" => \$opt_h, + "w" => \$opt_w, + "project=s" => \$opt_project, );
--- a/src/gearsTools/generate_stub.pl Mon Jun 15 18:29:09 2020 +0900 +++ b/src/gearsTools/generate_stub.pl Mon Jun 15 18:41:01 2020 +0900 @@ -18,10 +18,10 @@ our($opt_o,$opt_d,$opt_h, $opt_project); GetOptions( - "o=s" => \$opt_o, - "d=s" => \$opt_d, - "h" => \$opt_h, - "project" => \$opt_project, + "o=s" => \$opt_o, + "d=s" => \$opt_d, + "h" => \$opt_h, + "project=s" => \$opt_project, ); my $dir = ".";