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

Function show_usage_if_asked

usage.c:194–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void show_usage_if_asked(int ac, const char **av, const char *err)
195{
196 if (ac == 2 && (!strcmp(av[1], "-h") ||
197 !strcmp(av[1], "--help-all")))
198 show_usage_if_asked_helper(err);
199}
200
201void NORETURN die(const char *err, ...)
202{

Callers 15

cmd_fetch_packFunction · 0.85
cmd_merge_indexFunction · 0.85
cmd_diff_indexFunction · 0.85
cmd_credentialFunction · 0.85
cmd_diff_filesFunction · 0.85
cmd_upload_archiveFunction · 0.85
cmd_remote_extFunction · 0.85
cmd_index_packFunction · 0.85
cmd_rev_listFunction · 0.85
cmd_merge_recursiveFunction · 0.85
cmd_varFunction · 0.85

Calls 1

Tested by

no test coverage detected