From c81b29e0a7b1c0ee0b3299a39dafe480f16159ef Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 26 Oct 2019 15:43:23 +0100 Subject: [PATCH] progs/key.c: Use `HASH' rather than `HASHALG' to denote a hash-function name. I noticed that the synopses were inconsistent between `fingerprint' and `verify'. Resolve this in favour of the shorter `HASH', despite the 1--3 minority. (Note that the manual already uses `hash' consistently.) --- progs/key.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/progs/key.c b/progs/key.c index 8cd43fe7..9c9466b8 100644 --- a/progs/key.c +++ b/progs/key.c @@ -1871,7 +1871,7 @@ static int cmd_finger(int argc, char *argv[]) argv += optind; argc -= optind; if (rc) { die(EXIT_FAILURE, - "Usage: fingerprint [-a HASHALG] [-p STYLE] [-f FILTER] [TAG...]"); + "Usage: fingerprint [-a HASH] [-p STYLE] [-f FILTER] [TAG...]"); } doopen(&f, KOPEN_READ); @@ -1945,7 +1945,7 @@ static int cmd_verify(int argc, char *argv[]) argv += optind; argc -= optind; if (rc || argc != 2) { die(EXIT_FAILURE, - "Usage: verify [-a HASHALG] [-p STYLE] [-f FILTER] TAG FINGERPRINT"); + "Usage: verify [-a HASH] [-p STYLE] [-f FILTER] TAG FINGERPRINT"); } doopen(&f, KOPEN_READ); @@ -2234,7 +2234,7 @@ Options:\n\ -v, --verbose Show more information.\n\ " }, { "fingerprint", cmd_finger, - "fingerprint [-a HASHALG] [-p STYLE] [-f FILTER] [TAG...]", "\ + "fingerprint [-a HASH] [-p STYLE] [-f FILTER] [TAG...]", "\ Options:\n\ \n\ -f, --filter=FILT Only hash key components matching FILT.\n\ -- 2.11.0