summaryrefslogtreecommitdiff
path: root/Completion/BSD/Command/_systat
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:17:48 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:17:48 +0200
commitb09f4483416c54c1782824633dfabaf2ec0265b6 (patch)
tree304bc82642862525ae680c7fbaa249663b10ad57 /Completion/BSD/Command/_systat
parent12eb3e5356f2fc3351eed58ef1cef1b8fb83b504 (diff)
parent6e55c920503071e917619b8cb1a188cd35d772db (diff)
downloadzsh-b09f4483416c54c1782824633dfabaf2ec0265b6.tar.gz
zsh-b09f4483416c54c1782824633dfabaf2ec0265b6.zip
New upstream version 5.8.1.2-test
Diffstat (limited to 'Completion/BSD/Command/_systat')
-rw-r--r--Completion/BSD/Command/_systat10
1 files changed, 6 insertions, 4 deletions
diff --git a/Completion/BSD/Command/_systat b/Completion/BSD/Command/_systat
index 73533e864..03df07631 100644
--- a/Completion/BSD/Command/_systat
+++ b/Completion/BSD/Command/_systat
@@ -45,6 +45,7 @@ case $OSTYPE in
'-B[raw, non-interactive mode (two screen updates)]'
'-b[raw, non-interactive mode (one screen update)]'
'-d[exit after `count'\'' updates]:count'
+ '-h[human readable output]'
'-i[interactive mode]'
'-N[resolve network addresses to names]'
'-n[do not resolve network addresses to names]'
@@ -74,15 +75,16 @@ case $OSTYPE in
opts=(
'-M[alternative source to extract values from]:core:_files'
'-N[alternative source to extract the name list from]:system:_files'
- '-n[do not resolve IP addresses]'
- '-w[refresh interval]:refresh interval'
- '-t[the amount of refreshes for each screen in '\''all'\'' display mode]:turns'
+ '(-t -w)-b[show the chosen display once and exit]'
+ "-n[don't resolve IP addresses]"
+ '(-b)-w[refresh interval]:refresh interval'
+ "(-b)-t[specify amount of refreshes for each screen in 'all' display mode]:turns"
)
esac
if (( $#screens )); then
_arguments -M 'r:|.=* r:|=*' : $opts \
- '1:systat(1) displays:(( ${pre}$^screens ))' \
+ '1:systat(1) display:(( ${pre}$^screens ))' \
'2:refresh interval'
return
fi