X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=help.c;h=dc0786d8002ef633cae4485eb5b25cdb6cf17df4;hb=daae06259556246959963947752bde4ee2df7b44;hp=3cb19628965685ce59a5377b81bef975851996e8;hpb=847d10f56d7853cd0e139a7c2e6ad0ad2de5c464;p=git.git diff --git a/help.c b/help.c index 3cb196289..dc0786d80 100644 --- a/help.c +++ b/help.c @@ -555,7 +555,8 @@ static int is_git_command(const char *s) { load_command_list(); return is_in_cmdlist(&main_cmds, s) || - is_in_cmdlist(&other_cmds, s); + is_in_cmdlist(&other_cmds, s) || + !strcmp(s, "help"); } static const char *prepend(const char *prefix, const char *cmd)