diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-10-26 23:26:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-26 23:26:49 -0700 |
commit | 85b00455057c19a993eeaee2606af550b8d4de10 (patch) | |
tree | bbc48858028e4fb67db3029ad7971f7afafe2bf2 | |
parent | d633f702a007ecdd19cfd884c6da90f51156ca63 (diff) | |
parent | a238917ba48c44de8a00e3aee7898d9beb5afcd8 (diff) | |
download | git-85b00455057c19a993eeaee2606af550b8d4de10.tar.gz git-85b00455057c19a993eeaee2606af550b8d4de10.tar.xz |
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
-rw-r--r-- | help.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } |