зеркало из https://github.com/microsoft/git.git
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:
Коммит
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)
|
||||
{
|
||||
printf("git: '%s' is not a git-command\n\n", cmd);
|
||||
list_common_cmds_help();
|
||||
fprintf(stderr, "git: '%s' is not a git-command. See 'git --help'.\n", cmd);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче