Add completions for xxHash

This commit is contained in:
Shun Sakai 2020-06-09 13:41:41 +09:00 committed by Fabian Homborg
parent e0f5fc2cb4
commit 991389603c
5 changed files with 18 additions and 0 deletions

View file

@ -133,6 +133,7 @@ Completions
- ``tig``
- ``windscribe``
- ``wireshark``, ``tshark``, and ``dumpcap``
- ``xxhsum``, ``xxh32sum``, ``xxh64sum`` and ``xxh128sum``
- ``zopfli``, and ``zopflipng``
Deprecations and removed features

View file

@ -0,0 +1 @@
complete -c xxh128sum -w xxh64sum

View file

@ -0,0 +1 @@
complete -c xxh32sum -w xxh64sum

View file

@ -0,0 +1,11 @@
complete -c xxh64sum -s V -l version -d "Display version"
complete -c xxh64sum -l little-endian -d "Display hashes in little endian"
complete -c xxh64sum -s h -l help -d "Display help"
complete -c xxh64sum -s c -l check -d "Check xxHash sums"
complete -c xxh64sum -s q -l quiet -d "Don't print OK when the checksum match"
complete -c xxh64sum -l strict -d "Exit non-zero if any line is invalid"
complete -c xxh64sum -l status -d "Don't output anything"
complete -c xxh64sum -s w -l warn -d "Warn about invalid lines"
complete -c xxh64sum -s b -d "Run a benchmark"
complete -c xxh64sum -s B -d "Test data block size of benchmark"
complete -c xxh64sum -s i -d "Number of benchmark iterations"

View file

@ -0,0 +1,4 @@
complete -c xxhsum -w xxh64sum
complete -c xxhsum -o H0 -d "32bits hash"
complete -c xxhsum -o H1 -d "64bits hash"
complete -c xxhsum -o H2 -d "128bits hash"