MCPcopy Create free account
hub / github.com/git/git / list_all_cmds_help

Function list_all_cmds_help

help.c:516–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516void list_all_cmds_help(int show_external_commands, int show_aliases)
517{
518 int longest;
519
520 puts(_("See 'git help <command>' to read about a specific subcommand"));
521 putchar('\n');
522 print_cmd_by_category(main_categories, &longest);
523
524 if (show_external_commands)
525 list_all_cmds_help_external_commands();
526 if (show_aliases)
527 list_all_cmds_help_aliases(longest);
528}
529
530int is_in_cmdlist(struct cmdnames *c, const char *s)
531{

Callers 1

cmd_helpFunction · 0.85

Tested by

no test coverage detected