mirror of
https://github.com/git/git
synced 2024-09-13 13:24:41 +00:00
git-cvsexportcommit.perl: Fix usage() output.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
565cb99114
commit
0ff2ce9d8a
|
@ -4,6 +4,7 @@
|
|||
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 @@
|
|||
}
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue