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 5bce39c4c4ad38f79fbcdfa38b2aecd932043464..da7dcda3b639d0857c6cd49b361d8e2dd49fa35d 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();