X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=help.c;h=e5662d9014e758fee00b890e06ffc66cd4aa0291;hb=e2b7eaf0ca3897940961d23392d4ff718867ea9f;hp=1cd33ece6bcec6f71c6749205c18c0f413034d89;hpb=30ba3809a4670c99c73800393ce29473c84c8521;p=git.git diff --git a/help.c b/help.c index 1cd33ece6..e5662d901 100644 --- a/help.c +++ b/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); }