summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_vmstat
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
commit87aba4d437f5fef46917c1235c00b9162d7bcbd0 (patch)
treece578175d1248d14b8237ad86121b9396550c226 /Completion/Unix/Command/_vmstat
parentdb01c79cf83290b9ac9d77e66d832551b7022f71 (diff)
downloadzsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.gz
zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.zip
53325: cover newer BSD releases in completion
Diffstat (limited to 'Completion/Unix/Command/_vmstat')
-rw-r--r--Completion/Unix/Command/_vmstat6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_vmstat b/Completion/Unix/Command/_vmstat
index 6db776e62..1d0ac855d 100644
--- a/Completion/Unix/Command/_vmstat
+++ b/Completion/Unix/Command/_vmstat
@@ -37,10 +37,14 @@ case $OSTYPE in
'-f[report on the number fork syscalls since boot and pages of virtual memory for each]'
)
;|
+ freebsd*|dragonfly*|netbsd*)
+ specs+=(
+ '-n+[change the maximum number of disks to display]:number of disks to display [2]'
+ )
+ ;|
freebsd*|dragonfly*)
specs+=(
'-m[report on the usage of kernel dynamic memory allocated using malloc(9) by type]'
- '-n+[change the maximum number of disks to display]:number of disks to display [2]'
'*-p+[specify which types of devices to display]: :->devices'
'-s[display the contents of the SUM structure]'
'-z[report on memory used by the kernel zone allocator, uma(9), by zone]'