From: Paul Price Date: Fri, 12 Apr 2013 14:05:55 +0000 (-0400) Subject: fast-export: fix argument name in error messages X-Git-Tag: v1.8.2.2~54^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/04a74b6cfa5ef4870263f84ac94a488d9f2ef14a?ds=inline;hp=--cc 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 Signed-off-by: Junio C Hamano --- 04a74b6cfa5ef4870263f84ac94a488d9f2ef14a diff --git a/builtin/fast-export.c b/builtin/fast-export.c index 12220ad8da..06a52798f1 100644 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@ -43,7 +43,7 @@ static int parse_opt_signed_tag_mode(const struct option *opt, else if (!strcmp(arg, "strip")) signed_tag_mode = STRIP; else - return error("Unknown signed-tag mode: %s", arg); + return error("Unknown signed-tags mode: %s", arg); return 0; } @@ -416,7 +416,7 @@ static void handle_tag(const char *name, struct tag *tag) switch(signed_tag_mode) { case ABORT: die ("Encountered signed tag %s; use " - "--signed-tag= to handle it.", + "--signed-tags= to handle it.", sha1_to_hex(tag->object.sha1)); case WARN: warning ("Exporting signed tag %s",