Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t3000 (ls-files -o): widen description to reflect current tests
[gitweb.git]
/
builtin
/
revert.c
diff --git
a/builtin/revert.c
b/builtin/revert.c
index df662d43247536813a14ac10a4e5001b255e82b4..a47b53ceaff92d4079b4ea73a61ce1552ad66b05 100644
(file)
--- a/
builtin/revert.c
+++ b/
builtin/revert.c
@@
-69,7
+69,8
@@
static int option_parse_m(const struct option *opt,
replay->mainline = strtol(arg, &end, 10);
if (*end || replay->mainline <= 0)
- return opterror(opt, "expects a number greater than zero", 0);
+ return error(_("option `%s' expects a number greater than zero"),
+ opt->long_name);
return 0;
}