MCPcopy Index your code
hub / github.com/git/git / usage_with_options

Function usage_with_options

parse-options.c:1482–1488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1480}
1481
1482void NORETURN usage_with_options(const char * const *usagestr,
1483 const struct option *opts)
1484{
1485 usage_with_options_internal(NULL, usagestr, opts,
1486 USAGE_NORMAL, USAGE_TO_STDERR);
1487 exit(129);
1488}
1489
1490void show_usage_with_options_if_asked(int ac, const char **av,
1491 const char * const *usagestr,

Callers 15

pack_refs_coreFunction · 0.85
parse_archive_argsFunction · 0.85
parse_revision_optFunction · 0.85
diff_no_indexFunction · 0.85
parse_options_stepFunction · 0.85
parse_optionsFunction · 0.85
usage_msg_optFunction · 0.85
cmd_runFunction · 0.85
cmd_deleteFunction · 0.85
cmd_helpFunction · 0.85
cmd_versionFunction · 0.85

Calls 1

Tested by 15

cmd__simple_ipcFunction · 0.68
cmd__progressFunction · 0.68
cmd__parse_options_flagsFunction · 0.68
cmd__parse_subcommandFunction · 0.68
cmd__fsmonitor_clientFunction · 0.68
cmd__cache_treeFunction · 0.68
cmd__env_helperFunction · 0.68
cmd__bundle_uri_parseFunction · 0.68
cmd__bundle_uriFunction · 0.68
cmd__getcwdFunction · 0.68
cmd__pack_deltasFunction · 0.68
cmd__rot13_filterFunction · 0.68