threads / patch / 2502

patch, 4 partsgit-cvsexportcommit.perl: use getopts to get binary flags

Subject: [PATCH 2/4] git-cvsexportcommit.perl: use getopts to get binary flags

## tl;dr

One message between Nov 14, 2005 and Nov 14, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Kevin Geiss· Nov 14, 2005, 16:41 UTC · lore
---
 git-cvsexportcommit.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: c13592c92fc8bf74afc39ee6d40cb51814cb3e24 26c7c4b051fb251cbf88eb1d6eff63e539255cf5

Show changes to git-cvsexportcommit.perl +1 −1
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index 5bce39c..da7dcda 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -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();
 
---
0.99.9.GIT

← back to recent threads