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

Function cmd_help

scalar.c:952–969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952static int cmd_help(int argc, const char **argv)
953{
954 struct option options[] = {
955 OPT_END(),
956 };
957 const char * const usage[] = {
958 "scalar help",
959 NULL
960 };
961
962 argc = parse_options(argc, argv, NULL, options,
963 usage, 0);
964
965 if (argc != 0)
966 usage_with_options(usage, options);
967
968 return run_git("help", "scalar", NULL);
969}
970
971static int cmd_version(int argc, const char **argv)
972{

Callers

nothing calls this directly

Calls 3

parse_optionsFunction · 0.85
usage_with_optionsFunction · 0.85
run_gitFunction · 0.85

Tested by

no test coverage detected