| 950 | } |
| 951 | |
| 952 | static 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 | |
| 971 | static int cmd_version(int argc, const char **argv) |
| 972 | { |
nothing calls this directly
no test coverage detected