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 <price@astro.princeton.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Paul Price committed
Apr 12, 2013 at 10:05 UTC
04a74b6cfa5ef4870263f84ac94a488d9f2ef14a
1 file changed
+2
-2
builtin/fast-export.c
+2
-2
@@ -43,7 +43,7 @@ static int parse_opt_signed_tag_mode(const struct option *opt,
43
else if (!strcmp(arg, "strip"))
44
signed_tag_mode = STRIP;
45
else
46
- return error("Unknown signed-tag mode: %s", arg);
46
+ return error("Unknown signed-tags mode: %s", arg);
47
return 0;
48
}
49
@@ -416,7 +416,7 @@ static void handle_tag(const char *name, struct tag *tag)
416
switch(signed_tag_mode) {
417
case ABORT:
418
die ("Encountered signed tag %s; use "
419
- "--signed-tag=<mode> to handle it.",
419
+ "--signed-tags=<mode> to handle it.",
420
sha1_to_hex(tag->object.sha1));
421
case WARN:
422
warning ("Exporting signed tag %s",