diff options
author | dana <dana@dana.is> | 2018-10-24 00:41:58 -0500 |
---|---|---|
committer | dana <dana@dana.is> | 2018-10-24 00:41:58 -0500 |
commit | da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7 (patch) | |
tree | b812fae54a9dec5bbc94ed9dc97cd1bf971e0a48 /Completion/Unix/Command/_cat | |
parent | f413e5e17f0ffa99cfe8e5c0e035008cdeff4efa (diff) | |
download | zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar.gz zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar.xz zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.zip |
43718: Use singular completion group descriptions
Diffstat (limited to 'Completion/Unix/Command/_cat')
-rw-r--r-- | Completion/Unix/Command/_cat | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_cat b/Completion/Unix/Command/_cat index e383f8c6b..c78dc4cd9 100644 --- a/Completion/Unix/Command/_cat +++ b/Completion/Unix/Command/_cat @@ -16,7 +16,7 @@ if _pick_variant gnu=GNU unix --version; then '(-v --show-nonprinting)'{-v,--show-nonprinting}'[use ^ and M- notation, except for LFD and TAB]' '(- : *)--help[display help and exit]' '(- : *)--version[output version information and exit]' - '*:files:_files' + '*: :_files' ) elif [[ "$OSTYPE" == (*bsd|dragonfly|darwin)* ]]; then @@ -29,7 +29,7 @@ elif [[ "$OSTYPE" == (*bsd|dragonfly|darwin)* ]]; then '(-v)-t[display tab as ^I (implies -v)]' '-u[do not buffer output]' '-v[display non-printing chars as ^X or M-a]' - '*:files:_files' + '*: :_files' ) [[ $OSTYPE = (free|net)bsd* ]] && args+=( '-l[set a lock on the stdout file descriptor]' @@ -48,14 +48,14 @@ elif [[ $OSTYPE = solaris* ]]; then '-v[display non-printing chars as ^X or M-a]' '-e[display $ at the end of each line (requires -v)]' '-t[display tab as ^I and formfeeds and ^L (requires -v)]' - '*:files:_files' + '*: :_files' ) else # POSIX reqires '-u', and most OSes may support '-n' args=( '-n[number all output lines]' '-u[do not buffer output]' - '*:files:_files' + '*: :_files' ) fi |