parse-options: lose an unnecessary space in an error message
Signed-off-by: Jacques Bodin-Hullin <j.bodinhullin@monsieurbiz.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d0654dc308
commit
395518cf7a
@ -420,7 +420,7 @@ static void check_typos(const char *arg, const struct option *options)
|
||||
return;
|
||||
|
||||
if (starts_with(arg, "no-")) {
|
||||
error(_("did you mean `--%s` (with two dashes ?)"), arg);
|
||||
error(_("did you mean `--%s` (with two dashes)?"), arg);
|
||||
exit(129);
|
||||
}
|
||||
|
||||
@ -428,7 +428,7 @@ static void check_typos(const char *arg, const struct option *options)
|
||||
if (!options->long_name)
|
||||
continue;
|
||||
if (starts_with(options->long_name, arg)) {
|
||||
error(_("did you mean `--%s` (with two dashes ?)"), arg);
|
||||
error(_("did you mean `--%s` (with two dashes)?"), arg);
|
||||
exit(129);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user