From: Jean-Noël Avila via GitGitGadget Date: Fri, 03 Dec 2021 07:01:44 GMT Subject: [PATCH 05/10] i18n: tag.c factorize i18n strings Message-ID: In-Reply-To: From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= Signed-off-by: Jean-Noël Avila --- builtin/tag.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index 41941d5129f..6415d6c81a2 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -543,13 +543,13 @@ int cmd_tag(int argc, const char **argv, const char *prefix) goto cleanup; } if (filter.lines != -1) - die(_("-n option is only allowed in list mode")); + die(_("%s option is only allowed in list mode"), "-n"); if (filter.with_commit) - die(_("--contains option is only allowed in list mode")); + die(_("%s option is only allowed in list mode"), "--contains"); if (filter.no_commit) - die(_("--no-contains option is only allowed in list mode")); + die(_("%s option is only allowed in list mode"), "--no-contains"); if (filter.points_at.nr) - die(_("--points-at option is only allowed in list mode")); + die(_("%s option is only allowed in list mode"), "--points-at"); if (filter.reachable_from || filter.unreachable_from) die(_("--merged and --no-merged options are only allowed in list mode")); if (cmdmode == 'd') { -- gitgitgadget