diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2022-01-31 22:07:47 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-04 13:58:28 -0800 |
commit | 1a8aea857e4225a9d35a531869fd47777f3063d6 (patch) | |
tree | 6de239676c35485e95ff12f3ba7629eae3a40197 /builtin/pack-objects.c | |
parent | i18n: factorize more 'incompatible options' messages (diff) | |
download | tgif-1a8aea857e4225a9d35a531869fd47777f3063d6.tar.xz |
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 'builtin/pack-objects.c')
-rw-r--r-- | builtin/pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index ba2006f221..192c3ca305 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -3504,7 +3504,7 @@ static int option_parse_missing_action(const struct option *opt, return 0; } - die(_("invalid value for --missing")); + die(_("invalid value for '%s': '%s'"), "--missing", arg); return 0; } |