git-cvsexportcommit.perl: use getopts to get binary flags
authorKevin Geiss <kevin@desertsol.com>
Mon, 14 Nov 2005 16:41:43 +0000 (09:41 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 16 Nov 2005 21:20:58 +0000 (13:20 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsexportcommit.perl

index 5bce39c..da7dcda 100755 (executable)
@@ -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();