diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-14 06:13:00 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-14 06:13:00 +0100 |
commit | 3a522946f60c2aaf0594f33e700de9e672987176 (patch) | |
tree | 82adff49f5698723aeee0765eead6af73fd089af /src/common.c | |
parent | working on the --check flag (diff) | |
download | sha3sum-3a522946f60c2aaf0594f33e700de9e672987176.tar.gz sha3sum-3a522946f60c2aaf0594f33e700de9e672987176.tar.bz2 sha3sum-3a522946f60c2aaf0594f33e700de9e672987176.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c index 52506bf..5341d3c 100644 --- a/src/common.c +++ b/src/common.c @@ -480,6 +480,9 @@ int run(int argc, char* argv[], libkeccak_generalised_spec_t* restrict gspec, co ADD(NULL, "Use hexadecimal input", "-x", "--hex", "--hex-input"); ADD(NULL, "Check checksums", "-c", "--check"); ADD(NULL, "Be verbose", "-v", "--verbose"); + /* --check has been added because the sha1sum, sha256sum &c have it, + * but I ignore the other crap, mostly because not all implemention + * have them and binary vs text mode is stupid. */ args_parse(argc, argv); |