]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-count-objects.c
close file on error in read_mmfile()
[thirdparty/git.git] / builtin-count-objects.c
index 433afd85770dde2ac22689f42ec806485016ffaa..2bdd8ebde1002e852055385396ef053f26c91ae8 100644 (file)
@@ -83,7 +83,7 @@ int cmd_count_objects(int argc, const char **argv, const char *prefix)
                OPT_END(),
        };
 
-       argc = parse_options(argc, argv, opts, count_objects_usage, 0);
+       argc = parse_options(argc, argv, prefix, opts, count_objects_usage, 0);
        /* we do not take arguments other than flags for now */
        if (argc)
                usage_with_options(count_objects_usage, opts);