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

Function opt_mode_usage

builtin/help.c:651–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649}
650
651static void opt_mode_usage(int argc, const char *opt_mode,
652 enum help_format fmt)
653{
654 if (argc)
655 usage_msg_optf(_("the '%s' option doesn't take any non-option arguments"),
656 builtin_help_usage, builtin_help_options,
657 opt_mode);
658
659 no_help_format(opt_mode, fmt);
660}
661
662int cmd_help(int argc,
663 const char **argv,

Callers 1

cmd_helpFunction · 0.85

Calls 2

usage_msg_optfFunction · 0.85
no_help_formatFunction · 0.85

Tested by

no test coverage detected