diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-09 23:37:05 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-09 23:37:05 +0100 |
commit | 084956ba79ce2d510949ae38248beb0d34af31e8 (patch) | |
tree | d32dc4c990c05409a14e5dd4d8848863cb6be951 /java | |
parent | Merge pull request #11 from kseistrup/patch-2 (diff) | |
download | sha3sum-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 '')
-rw-r--r-- | java-c-jni/sha3sum.java | 2 | ||||
-rw-r--r-- | java/sha3sum.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/java-c-jni/sha3sum.java b/java-c-jni/sha3sum.java index 078dd61..2e42c26 100644 --- a/java-c-jni/sha3sum.java +++ b/java-c-jni/sha3sum.java @@ -84,7 +84,7 @@ public class sha3sum if (linger != null) { linger[0] = linger[0].intern(); - if ((linger[0] == "-h") || (linger[0] == "--help")) + if ((linger[0] == "-H") || (linger[0] == "--help")) { System.out.println(""); System.out.println("SHA-3/Keccak checksum calculator"); diff --git a/java/sha3sum.java b/java/sha3sum.java index 078dd61..2e42c26 100644 --- a/java/sha3sum.java +++ b/java/sha3sum.java @@ -84,7 +84,7 @@ public class sha3sum if (linger != null) { linger[0] = linger[0].intern(); - if ((linger[0] == "-h") || (linger[0] == "--help")) + if ((linger[0] == "-H") || (linger[0] == "--help")) { System.out.println(""); System.out.println("SHA-3/Keccak checksum calculator"); |