summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_w
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-11-22 00:07:37 +0100
committerOliver Kiddle <opk@zsh.org>2023-11-22 00:07:37 +0100
commit6aa15f57fd5bee298c8320dab19d167dac3d46ed (patch)
treef0559c7140c34ac7aae7772a9b8d9f7debe7f8d9 /Completion/Unix/Command/_w
parentfcf080ab578de00c799eb287ef8bdc201c313fee (diff)
downloadzsh-6aa15f57fd5bee298c8320dab19d167dac3d46ed.tar.gz
zsh-6aa15f57fd5bee298c8320dab19d167dac3d46ed.zip
52315: completion options update
Diffstat (limited to 'Completion/Unix/Command/_w')
-rw-r--r--Completion/Unix/Command/_w4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_w b/Completion/Unix/Command/_w
index 69751c5e5..e82c84f57 100644
--- a/Completion/Unix/Command/_w
+++ b/Completion/Unix/Command/_w
@@ -1,6 +1,6 @@
#compdef w
-local args
+local -a args
case $OSTYPE in
linux*)
@@ -11,7 +11,7 @@ case $OSTYPE in
'(H -o --old-style -s --short)'{-o,--old-style}'[old style output format]'
'(H -s --short -o --old-style)'{-s,--short}'[use short output format]'
'(H -u --no-current)'{-u,--no-current}'[ignore the username while figuring out the current process and cpu times]'
- '(H -n --no-truncat)'{-n,--no-truncat}'[non-truncated listing (large)]'
+ '(H -p --pids)'{-p,--pids}'[show process IDs]'
+ H
'(-)--help[display help information]'
'(-)'{-V,--version}'[display version information]'