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>
This commit is contained in:

committed by
Junio C Hamano

parent
a699367bb8
commit
1a8aea857e
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user