diff options
author | Kevin Geiss <kevin@desertsol.com> | 2005-11-14 09:45:05 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-16 13:20:58 -0800 |
commit | 0ff2ce9d8a305038c0c116cd1e3b478a9f5b81c1 (patch) | |
tree | d1a3f065b0698e67ca17523359e5fd680240a524 /git-cvsexportcommit.perl | |
parent | 565cb991147d7bf7945ed50d9d5e1e84ade35572 (diff) | |
download | git-0ff2ce9d8a305038c0c116cd1e3b478a9f5b81c1.tar.gz git-0ff2ce9d8a305038c0c116cd1e3b478a9f5b81c1.tar.xz |
git-cvsexportcommit.perl: Fix usage() output.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-cvsexportcommit.perl')
-rwxr-xr-x | git-cvsexportcommit.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index 50b041c32..5bce39c4c 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); } |