aboutsummaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-09 23:37:05 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-09 23:37:05 +0100
commit084956ba79ce2d510949ae38248beb0d34af31e8 (patch)
treed32dc4c990c05409a14e5dd4d8848863cb6be951 /c
parentMerge pull request #11 from kseistrup/patch-2 (diff)
downloadsha3sum-084956ba79ce2d510949ae38248beb0d34af31e8.tar.gz
sha3sum-084956ba79ce2d510949ae38248beb0d34af31e8.tar.bz2
sha3sum-084956ba79ce2d510949ae38248beb0d34af31e8.tar.xz
-h was used for both --help and --hex, -H is now --help and -h is now only --hex (iisue #12)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'c')
-rw-r--r--c/sha3sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/sha3sum.c b/c/sha3sum.c
index 6d46b81..7a1d814 100644
--- a/c/sha3sum.c
+++ b/c/sha3sum.c
@@ -243,7 +243,7 @@ int main(int argc, char** argv)
char* arg = a == an ? null : *(args + a);
if (*linger)
{
- if (eq(*linger, "-h") || eq(*linger, "--help"))
+ if (eq(*linger, "-H") || eq(*linger, "--help"))
{
printf("\n");
printf("SHA-3/Keccak checksum calculator\n");