i18n: turn "options are incompatible" 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
c488182903
commit
12909b6b8a
@ -538,7 +538,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
|
||||
const char *arg = argv[i];
|
||||
if (skip_prefix(arg, "--missing=", &arg)) {
|
||||
if (revs.exclude_promisor_objects)
|
||||
die(_("cannot combine --exclude-promisor-objects and --missing"));
|
||||
die(_("options '%s' and '%s' cannot be used together"), "--exclude-promisor-objects", "--missing");
|
||||
if (parse_missing_action_value(arg))
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user