Merge branch 'ja/shorthelp'
* ja/shorthelp: help: remove extra blank line after "See 'git --help'" message On error, do not list all commands, but point to --help option
This commit is contained in:
commit
85b0045505
3
help.c
3
help.c
@ -185,8 +185,7 @@ static void show_man_page(const char *git_cmd)
|
|||||||
|
|
||||||
void help_unknown_cmd(const char *cmd)
|
void help_unknown_cmd(const char *cmd)
|
||||||
{
|
{
|
||||||
printf("git: '%s' is not a git-command\n\n", cmd);
|
fprintf(stderr, "git: '%s' is not a git-command. See 'git --help'.\n", cmd);
|
||||||
list_common_cmds_help();
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user