diff --git a/builtin-name-rev.c b/builtin-name-rev.c
index 5352bc87b9ab5177922039cfec48a2fda8bd50a6..06a38ac8c10126085e6477c205d450da089faae2 100644 (file)
--- a/builtin-name-rev.c
+++ b/builtin-name-rev.c
}
static char const * const name_rev_usage[] = {
- "git-name-rev [options] ( --all | --stdin | <commit>... )",
+ "git name-rev [options] ( --all | --stdin | <commit>... )",
NULL
};
};
git_config(git_default_config, NULL);
- argc = parse_options(argc, argv, opts, name_rev_usage, 0);
+ argc = parse_options(argc, argv, prefix, opts, name_rev_usage, 0);
if (!!all + !!transform_stdin + !!argc > 1) {
error("Specify either a list, or --all, not both!");
usage_with_options(name_rev_usage, opts);