diff --git a/builtin-pack-refs.c b/builtin-pack-refs.c
index ff90aefa1c1818b90391223c8cf6971923207e97..091860b2e370561f0811399b0d307e732e9eaac3 100644 (file)
--- a/builtin-pack-refs.c
+++ b/builtin-pack-refs.c
#include "pack-refs.h"
static char const * const pack_refs_usage[] = {
- "git-pack-refs [options]",
+ "git pack-refs [options]",
NULL
};
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);
}