eth
- From
- Kevin Geiss <kevin@desertsol.com>
- Date
- Nov 14, 2005, 16:40 UTC
- Message-ID
- <20051114164047.GB9131@raven.localdomain>
---
git-cvsexportcommit.perl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
applies-to: e604d20cd75e71750e8316348c988ef0296b3ec5 224d4f4897ea47425aafc6d491f2a0762e683a4c
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index 50b041c..5bce39c 100755 --- a/git-cvsexportcommit.perl +++ b/git-cvsexportcommit.perl @@ -4,6 +4,7 @@ use strict; use Getopt::Std; use File::Temp qw(tempdir); use Data::Dumper; +use File::Basename qw(basename); unless ($ENV{GIT_DIR} && -r $ENV{GIT_DIR}){ die "GIT_DIR is not defined or is unreadable"; @@ -206,8 +207,7 @@ if ($opt_c) { } sub usage { print STDERR <<END; -Usage: GIT_DIR=/path/to/.gi ${\basename $0} # fetch/update GIT from CVS - [-h] [-p] [ parent ] commit +Usage: GIT_DIR=/path/to/.git ${\basename $0} [-h] [-p] [-v] [-c] [ parent ] commit END exit(1); } --- 0.99.9.GIT