diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-02-12 21:41:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-12 21:41:37 +0100 |
commit | db72f8c940b3c49286fb88958b3c50fe6f0d6319 (patch) | |
tree | 7154d7c2c1e8bd77c0e767e9defc90e31a5a958d /parse-options.c | |
parent | Merge branch 'ma/filter-branch-doc-caret' (diff) | |
parent | parse-options: lose an unnecessary space in an error message (diff) | |
download | git-db72f8c940b3c49286fb88958b3c50fe6f0d6319.tar.xz git-db72f8c940b3c49286fb88958b3c50fe6f0d6319.zip |
Merge branch 'jb/parse-options-message-fix'
Error message fix.
* jb/parse-options-message-fix:
parse-options: lose an unnecessary space in an error message
Diffstat (limited to 'parse-options.c')
-rw-r--r-- | parse-options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-options.c b/parse-options.c index e8c04109ba..a0cef401fc 100644 --- a/parse-options.c +++ b/parse-options.c @@ -419,7 +419,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); } @@ -427,7 +427,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); } } |