feat(comp): Update completion for md5sum

(cherry picked from commit a780e4da15)
This commit is contained in:
idealseal 2024-12-25 14:11:53 +01:00 committed by David Adam
parent 566ff38fee
commit 24397c71cd

View file

@ -1,10 +1,13 @@
complete -c md5sum -d "Compute and check message digest" -r complete -c md5sum -d "Compute and check message digest" -r
complete -c md5sum -s b -l binary -d 'Read in binary mode' complete -c md5sum -s b -l binary -d 'Read in binary mode'
complete -c md5sum -s c -l check -d "Read sums from files and check them" complete -c md5sum -s c -l check -d "Read sums from files and check them"
complete -c md5sum -s t -l text -d 'Read in text mode' complete -c md5sum -l tag -d 'Create a BSD-style checksum'
complete -c md5sum -l quiet -d 'Don''t print OK for each successfully verified file' complete -c md5sum -s t -l text -d 'Read in text mode (default)'
complete -c md5sum -l status -d 'Don''t output anything, status code shows success' complete -c md5sum -s z -l zero -d 'End each output line with NUL, not newline, and disable file name escaping'
complete -c md5sum -s w -l warn -d 'Warn about improperly formatted checksum lines' complete -c md5sum -l ignore-missing -d 'Don\'t fail or report status for missing files'
complete -c md5sum -l quiet -d 'Don\'t print OK for each successfully verified file'
complete -c md5sum -l status -d 'Don\'t output anything, status code shows success'
complete -c md5sum -l strict -d 'With --check, exit non-zero for any invalid input' complete -c md5sum -l strict -d 'With --check, exit non-zero for any invalid input'
complete -c md5sum -s w -l warn -d 'Warn about improperly formatted checksum lines'
complete -c md5sum -l help -d 'Display help text' complete -c md5sum -l help -d 'Display help text'
complete -c md5sum -l version -d 'Output version information and exit' complete -c md5sum -l version -d 'Output version information and exit'