diff options
Diffstat (limited to '')
-rw-r--r-- | c/sha3sum.c | 2 | ||||
-rw-r--r-- | java-c-jni/sha3sum.java | 2 | ||||
-rw-r--r-- | java/sha3sum.java | 2 | ||||
-rwxr-xr-x | python2/sha3sum.py | 2 | ||||
-rwxr-xr-x | python3/sha3sum.py | 2 |
5 files changed, 5 insertions, 5 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"); 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"); diff --git a/python2/sha3sum.py b/python2/sha3sum.py index 9bb04ed..d02b601 100755 --- a/python2/sha3sum.py +++ b/python2/sha3sum.py @@ -72,7 +72,7 @@ if __name__ == '__main__': for arg in args + [None]: if linger is not None: - if linger[0] in ('-h', '--help'): + if linger[0] in ('-H', '--help'): sys.stderr.buffer.write((''' SHA-3/Keccak checksum calculator diff --git a/python3/sha3sum.py b/python3/sha3sum.py index 4143652..b4d6e56 100755 --- a/python3/sha3sum.py +++ b/python3/sha3sum.py @@ -59,7 +59,7 @@ if __name__ == '__main__': for arg in args + [None]: if linger is not None: - if linger[0] in ('-h', '--help'): + if linger[0] in ('-H', '--help'): sys.stderr.buffer.write((''' SHA-3/Keccak checksum calculator |