]> asedeno.scripts.mit.edu Git - git.git/blobdiff - help.c
Print info about "git help COMMAND" on git's main usage pages
[git.git] / help.c
diff --git a/help.c b/help.c
index d89d43796f3ee9d3689131d48861967048f5c5d7..8aff94c64a1204f8a359e522a554f29c8f0fdc20 100644 (file)
--- a/help.c
+++ b/help.c
@@ -649,12 +649,14 @@ int cmd_help(int argc, const char **argv, const char *prefix)
        if (show_all) {
                printf("usage: %s\n\n", git_usage_string);
                list_commands();
+               printf("%s\n", git_more_info_string);
                return 0;
        }
 
        if (!argv[0]) {
                printf("usage: %s\n\n", git_usage_string);
                list_common_cmds_help();
+               printf("\n%s\n", git_more_info_string);
                return 0;
        }