git-cvsexportcommit.perl: use getopts to get binary flags
Signed-off-by: Junio C Hamano <junkio@cox.net>
Kevin Geiss committed
Nov 14, 2005 at 09:41 UTC
ebdbfa8b556c9b4cebf27cb5f9364c9c19274620
1 file changed
+1
-1
git-cvsexportcommit.perl
+1
-1
@@ -12,7 +12,7 @@ unless ($ENV{GIT_DIR} && -r $ENV{GIT_DIR}){
12
13
our ($opt_h, $opt_p, $opt_v, $opt_c );
14
15
-getopt('hpvc');
15
+getopts('hpvc');
16
17
$opt_h && usage();
18