aboutsummaryrefslogtreecommitdiffstats
path: root/python3
diff options
context:
space:
mode:
Diffstat (limited to 'python3')
-rwxr-xr-xpython3/sha3sum.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python3/sha3sum.py b/python3/sha3sum.py
index b4d6e56..0e9e376 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
@@ -89,7 +89,7 @@ OPTIONS:
-j SQUEEZES
--squeezes The number of hash squeezes to run. (default: %d)
- -h
+ -x
--hex Read the input in hexadecimal, rather than binary.
-b
@@ -171,7 +171,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
elif arg[0] == 'b':
multi += 1
arg = arg[1:]
- elif arg[0] == 'h':
+ elif arg[0] == 'x':
hex = True
arg = arg[1:]
elif len(arg) == 1: