X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-pack-refs.c;h=091860b2e370561f0811399b0d307e732e9eaac3;hb=6ea71fe7d36cf5b81c2100d97a822ecf0bc04746;hp=ff90aefa1c1818b90391223c8cf6971923207e97;hpb=8e69d78be3f315ea8c7b96400c0c65763b3e8f00;p=git.git diff --git a/builtin-pack-refs.c b/builtin-pack-refs.c index ff90aefa1..091860b2e 100644 --- a/builtin-pack-refs.c +++ b/builtin-pack-refs.c @@ -3,7 +3,7 @@ #include "pack-refs.h" static char const * const pack_refs_usage[] = { - "git-pack-refs [options]", + "git pack-refs [options]", NULL }; @@ -15,7 +15,7 @@ int cmd_pack_refs(int argc, const char **argv, const char *prefix) OPT_BIT(0, "prune", &flags, "prune loose refs (default)", PACK_REFS_PRUNE), OPT_END(), }; - if (parse_options(argc, argv, opts, pack_refs_usage, 0)) + if (parse_options(argc, argv, prefix, opts, pack_refs_usage, 0)) usage_with_options(pack_refs_usage, opts); return pack_refs(flags); }