i18n: refactor "%s, %s and %s are mutually exclusive"
Use placeholders for constant tokens. The strings are turned into "cannot be used together" Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Reviewed-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
43ea635c35
commit
c488182903
@ -1979,7 +1979,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
|
||||
load_display_notes(&rev.notes_opt);
|
||||
|
||||
if (use_stdout + rev.diffopt.close_file + !!output_directory > 1)
|
||||
die(_("--stdout, --output, and --output-directory are mutually exclusive"));
|
||||
die(_("options '%s', '%s', and '%s' cannot be used together"), "--stdout", "--output", "--output-directory");
|
||||
|
||||
if (use_stdout) {
|
||||
setup_pager();
|
||||
|
||||
Reference in New Issue
Block a user