summaryrefslogtreecommitdiff
path: root/Completion/BSD/Command/_systat
diff options
context:
space:
mode:
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