Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fsck: reduce word legos to help i18n
[gitweb.git]
/
builtin
/
revert.c
diff --git
a/builtin/revert.c
b/builtin/revert.c
index c93393c89be0290ebd9e300046ff56a2ee441715..11190d2ab43c91354c640e77c71d7a814e251eb0 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;
}