Skip to content

Commit 04a74b6

Browse files
PaulPricegitster
authored andcommitted
fast-export: fix argument name in error messages
The --signed-tags argument is plural, while error messages referred to --signed-tag (singular). Tweak error messages to correspond to the argument. Signed-off-by: Paul Price <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 06cb843 commit 04a74b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/fast-export.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static int parse_opt_signed_tag_mode(const struct option *opt,
4343
else if (!strcmp(arg, "strip"))
4444
signed_tag_mode = STRIP;
4545
else
46-
return error("Unknown signed-tag mode: %s", arg);
46+
return error("Unknown signed-tags mode: %s", arg);
4747
return 0;
4848
}
4949

@@ -416,7 +416,7 @@ static void handle_tag(const char *name, struct tag *tag)
416416
switch(signed_tag_mode) {
417417
case ABORT:
418418
die ("Encountered signed tag %s; use "
419-
"--signed-tag=<mode> to handle it.",
419+
"--signed-tags=<mode> to handle it.",
420420
sha1_to_hex(tag->object.sha1));
421421
case WARN:
422422
warning ("Exporting signed tag %s",

0 commit comments

Comments
 (0)