summaryrefslogtreecommitdiffstats
path: root/parse-options.c
diff options
context:
space:
mode:
authorJacques Bodin-Hullin <j.bodinhullin@monsieurbiz.com>2020-02-05 14:07:23 +0100
committerJunio C Hamano <gitster@pobox.com>2020-02-05 19:49:29 +0100
commit395518cf7a290f78232979593351d366a228e5c0 (patch)
tree7c37dc77a45b6be9635e9409d0e2bca1a76092da /parse-options.c
parentGit 2.25 (diff)
downloadgit-395518cf7a290f78232979593351d366a228e5c0.tar.xz
git-395518cf7a290f78232979593351d366a228e5c0.zip
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>
Diffstat (limited to 'parse-options.c')
-rw-r--r--parse-options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-options.c b/parse-options.c
index 60fae3ad21..c278aff3a6 100644
--- a/parse-options.c
+++ b/parse-options.c
@@ -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);
}
}