diff options
author | Paul Price <price@astro.princeton.edu> | 2013-04-12 10:05:55 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-12 09:48:46 -0700 |
commit | 04a74b6cfa5ef4870263f84ac94a488d9f2ef14a (patch) | |
tree | 10865d92be2ae4d85744b04573d2b7755525688d /builtin/fast-export.c | |
parent | 06cb843fea195ea99391c4daf8018a13ec99c75e (diff) | |
download | git-04a74b6cfa5ef4870263f84ac94a488d9f2ef14a.tar.gz git-04a74b6cfa5ef4870263f84ac94a488d9f2ef14a.tar.xz |
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>
Diffstat (limited to 'builtin/fast-export.c')
-rw-r--r-- | builtin/fast-export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/fast-export.c b/builtin/fast-export.c index 12220ad8d..06a52798f 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=<mode> to handle it.", + "--signed-tags=<mode> to handle it.", sha1_to_hex(tag->object.sha1)); case WARN: warning ("Exporting signed tag %s", |