提交 0ff2ce9d 编写于 作者: K Kevin Geiss 提交者: Junio C Hamano

git-cvsexportcommit.perl: Fix usage() output.

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 565cb991
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册