git-cvsexportcommit.perl: use getopts to get binary flags

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Kevin Geiss 2005-11-14 09:41:43 -07:00 committed by Junio C Hamano
parent 0ff2ce9d8a
commit ebdbfa8b55

View File

@ -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();