X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-for-each-ref.c;h=784733b25d21f292c6ac895ba34d0a7b88b3073f;hb=b11cf09043f18b368ec0d988f064ea21247c843d;hp=d091e04af9549b70a1e15a4b845383056e71932e;hpb=128b0c08cac16373b361726eebe72d5d5050b9c2;p=git.git diff --git a/builtin-for-each-ref.c b/builtin-for-each-ref.c index d091e04af..784733b25 100644 --- a/builtin-for-each-ref.c +++ b/builtin-for-each-ref.c @@ -905,7 +905,7 @@ int cmd_for_each_ref(int argc, const char **argv, const char *prefix) OPT_END(), }; - parse_options(argc, argv, opts, for_each_ref_usage, 0); + parse_options(argc, argv, prefix, opts, for_each_ref_usage, 0); if (maxcount < 0) { error("invalid --count argument: `%d'", maxcount); usage_with_options(for_each_ref_usage, opts);