diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2018-09-03 18:02:49 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2018-09-03 18:02:49 +0200 |
commit | 6e6500bfa9f31b6efce0c0801fcea558aa09b7ba (patch) | |
tree | b2032b9c9a63d7e1db551f937cae04ae062b8fa5 /Completion/Unix/Command/_md5sum | |
parent | 4614aa489b18ba256fdc7b2c44aa5127c214e665 (diff) | |
parent | b30b89418af2495c0d48a72573f908c4ecf05efd (diff) | |
download | zsh-6e6500bfa9f31b6efce0c0801fcea558aa09b7ba.tar.gz zsh-6e6500bfa9f31b6efce0c0801fcea558aa09b7ba.zip |
Merge tag 'zsh-5.6' into debian
Release 5.6.
Diffstat (limited to 'Completion/Unix/Command/_md5sum')
-rw-r--r-- | Completion/Unix/Command/_md5sum | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_md5sum b/Completion/Unix/Command/_md5sum index 8e93fbbac..3dfcd6322 100644 --- a/Completion/Unix/Command/_md5sum +++ b/Completion/Unix/Command/_md5sum @@ -7,7 +7,7 @@ # # @todo Support BusyBox? -local type +local type ign local -a args case $service in @@ -17,16 +17,18 @@ case $service in esac # General options -args+=( +(( $#words > 2 )) && ign='!' +args=( '(: -)--help[display help information]' '(: -)--version[display version information]' ) # Summing options -args+=( +args=( ${ign}${^args} + sum '(chk)--tag[create BSD-style checksums]' '(chk -b -t --binary --text)'{-b,--binary}'[read in binary mode]' '(chk -b -t --binary --text)'{-t,--text}'[read in text mode]' + '(chk -z --zero)'{-z,--zero}'[end each output line with NUL and disable filename escaping]' ) # This is the only option that differs amongst all of these tools [[ $service == *b2* ]] && args+=( |