Skip to content

Commit

Permalink
Merge pull request #852 from t-mat/feature/cli-option-binary
Browse files Browse the repository at this point in the history
feature: CLI: --binary
  • Loading branch information
Cyan4973 authored Jul 9, 2023
2 parents a37d212 + d7dce18 commit 3f255fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/xxhsum.c
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,7 @@ XSUM_API int XSUM_main(int argc, const char* argv[])
if (!strcmp(argument, "--strict")) { strictMode = 1; continue; }
if (!strcmp(argument, "--status")) { statusOnly = 1; continue; }
if (!strcmp(argument, "--warn")) { warn = 1; continue; }
if (!strcmp(argument, "--binary")) { continue; } /* Just ignore it. See https://github.com/Cyan4973/xxHash/issues/812 */
if (!strcmp(argument, "--help")) { return XSUM_usage_advanced(exename); }
if (!strcmp(argument, "--version")) { XSUM_log(FULL_WELCOME_MESSAGE(exename)); XSUM_sanityCheck(); return 0; }
if (!strcmp(argument, "--tag")) { convention = display_bsd; continue; }
Expand Down

0 comments on commit 3f255fa

Please sign in to comment.