| 54 | }; |
| 55 | |
| 56 | static int parse_options_cmd_bundle(int argc, |
| 57 | const char **argv, |
| 58 | const char* prefix, |
| 59 | const char * const usagestr[], |
| 60 | const struct option options[], |
| 61 | char **bundle_file) { |
| 62 | argc = parse_options(argc, argv, NULL, options, usagestr, |
| 63 | PARSE_OPT_STOP_AT_NON_OPTION); |
| 64 | if (!argc) |
| 65 | usage_msg_opt(_("need a <file> argument"), usagestr, options); |
| 66 | *bundle_file = prefix_filename_except_for_dash(prefix, argv[0]); |
| 67 | return argc; |
| 68 | } |
| 69 | |
| 70 | static int cmd_bundle_create(int argc, const char **argv, const char *prefix, |
| 71 | struct repository *repo UNUSED) { |
no test coverage detected