summaryrefslogtreecommitdiff
path: root/completions/vmstat
diff options
context:
space:
mode:
Diffstat (limited to 'completions/vmstat')
-rw-r--r--completions/vmstat6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/vmstat b/completions/vmstat
index 1d3ebb32..769620a7 100644
--- a/completions/vmstat
+++ b/completions/vmstat
@@ -6,10 +6,10 @@ _vmstat()
_init_completion || return
case $prev in
- -V|-c|-M|-N|-n|-w|-p)
+ -h|--help|-V|--version|-c|-M|-N|-n|-w|-p|--partition)
return
;;
- -S)
+ -S|--unit)
[[ $OSTYPE == *linux* ]] && \
COMPREPLY=( $( compgen -W 'k K m M' -- "$cur" ) )
return
@@ -24,4 +24,4 @@ _vmstat()
} &&
complete -F _vmstat vmstat
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh