diff options
author | Matthew Martin <phy1729@gmail.com> | 2020-05-29 22:25:08 -0500 |
---|---|---|
committer | Matthew Martin <phy1729@gmail.com> | 2020-06-01 21:18:23 -0500 |
commit | 7ec05332a281ab0229a864bb4ccc4571e4f8ca1b (patch) | |
tree | a6174e6c2d6fa97749f8201844b8723a7d06fa4d /Completion/Linux/Command/_ionice | |
parent | 56fffd548203c3257d9fe05d75e36d8002b48bcc (diff) | |
download | zsh-7ec05332a281ab0229a864bb4ccc4571e4f8ca1b.tar.gz zsh-7ec05332a281ab0229a864bb4ccc4571e4f8ca1b.tar.xz zsh-7ec05332a281ab0229a864bb4ccc4571e4f8ca1b.zip |
45939: Add _pgids type
Diffstat (limited to 'Completion/Linux/Command/_ionice')
-rw-r--r-- | Completion/Linux/Command/_ionice | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Linux/Command/_ionice b/Completion/Linux/Command/_ionice index d64f1c496..ba403ca56 100644 --- a/Completion/Linux/Command/_ionice +++ b/Completion/Linux/Command/_ionice @@ -17,14 +17,14 @@ _arguments -C -s -S \ '(- *)'{-h,--help}'[display help information]' \ + '(args)' \ '(H)'{-p-,--pid=-}'[interpret args as process ID]::process id:_pids' \ - '(H)'{-P-,--pgid=-}'[specify process group IDs]::process group' \ + '(H)'{-P-,--pgid=-}'[specify process group IDs]::process group:_pgids' \ '(H)'{-u-,--uid=-}'[act on running process owned by specified users]::user id' && ret=0 if [[ -n $state ]]; then if (( $+opt_args[args--p] || $+opt_args[args---pid] )); then _pids && ret=0 elif (( $+opt_args[args--P] || $+opt_args[args---pgid] )); then - _message -e pgids 'process group' + _pgids && ret=0 elif (( $+opt_args[args--u] || $+opt_args[args---uid] )); then _message -e uids 'user id' else |