提交 9a8c92ac 编写于 作者: B Ben Jackson 提交者: Eric Wong

Add 'git svn help [cmd]' which works outside a repo.

Previously there was no explicit 'help' command, but 'git svn help'
still printed the usage message (as an invalid command), provided you
got past the initialization steps that required a valid repo.
Signed-off-by: NBen Jackson <ben@ben.com>
Acked-by: NEric Wong <normalperson@yhbt.net>
上级 5eec27e3
......@@ -219,6 +219,9 @@ BEGIN
$cmd = $ARGV[$i];
splice @ARGV, $i, 1;
last;
} elsif ($ARGV[$i] eq 'help') {
$cmd = $ARGV[$i+1];
usage(0);
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册