git-cvsexportcommit.perl: use getopts to get binary flags
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
0ff2ce9d8a
commit
ebdbfa8b55
@ -12,7 +12,7 @@ unless ($ENV{GIT_DIR} && -r $ENV{GIT_DIR}){
|
||||
|
||||
our ($opt_h, $opt_p, $opt_v, $opt_c );
|
||||
|
||||
getopt('hpvc');
|
||||
getopts('hpvc');
|
||||
|
||||
$opt_h && usage();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user