diff options
Diffstat (limited to 'builtin/bundle.c')
| -rw-r--r-- | builtin/bundle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/bundle.c b/builtin/bundle.c index e80efce3a4..13309f2ea9 100644 --- a/builtin/bundle.c +++ b/builtin/bundle.c @@ -48,7 +48,7 @@ static int parse_options_cmd_bundle(int argc, int newargc; newargc = parse_options(argc, argv, NULL, options, usagestr, PARSE_OPT_STOP_AT_NON_OPTION); - if (argc < 1) + if (!newargc) usage_with_options(usagestr, options); *bundle_file = prefix_filename(prefix, argv[0]); return newargc; |
