diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2022-01-31 22:07:47 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-04 21:58:28 (GMT) |
commit | 1a8aea857e4225a9d35a531869fd47777f3063d6 (patch) | |
tree | 6de239676c35485e95ff12f3ba7629eae3a40197 /sequencer.c | |
parent | a699367bb8749a338aefb092c5d7ac75c69d61e1 (diff) | |
download | git-1a8aea857e4225a9d35a531869fd47777f3063d6.zip git-1a8aea857e4225a9d35a531869fd47777f3063d6.tar.gz git-1a8aea857e4225a9d35a531869fd47777f3063d6.tar.bz2 |
i18n: factorize "invalid value" messages
Use the same message when an invalid value is passed to a command line
option or a configuration variable.
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
-rw-r--r-- | sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c index 5213d16..683f539 100644 --- a/sequencer.c +++ b/sequencer.c @@ -2806,7 +2806,7 @@ static int populate_opts_cb(const char *key, const char *value, void *data) return error(_("invalid key: %s"), key); if (!error_flag) - return error(_("invalid value for %s: %s"), key, value); + return error(_("invalid value for '%s': '%s'"), key, value); return 0; } |