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

1 messages from 2005-11-14 to 2005-11-14. Participants: Kevin Geiss.
Thread: https://gitlist.dev/t/2502

## Kevin Geiss, 2005-11-14 16:41

Subject: [PATCH 2/4] git-cvsexportcommit.perl: use getopts to get binary flags
Message-ID: <20051114164143.GC9131@raven.localdomain>
URL: https://gitlist.dev/e/20051114164143.GC9131%40raven.localdomain

```
---

 git-cvsexportcommit.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: c13592c92fc8bf74afc39ee6d40cb51814cb3e24
26c7c4b051fb251cbf88eb1d6eff63e539255cf5
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

```
