about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-02-08 00:40:10 +0100
committerOliver Kiddle <opk@zsh.org>2021-02-08 00:40:10 +0100
commit073092f89dcf9fc1e59f9e3c5048f8c4829eae07 (patch)
tree7a10be711a41043b6bb46a7f8565f8cdac81cffe /Completion/Unix
parent25d69da85c707bfe08c2bad1d0b288baf8184b72 (diff)
downloadzsh-073092f89dcf9fc1e59f9e3c5048f8c4829eae07.tar.gz
zsh-073092f89dcf9fc1e59f9e3c5048f8c4829eae07.tar.xz
zsh-073092f89dcf9fc1e59f9e3c5048f8c4829eae07.zip
47944: update completions for NetBSD 9
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_dmesg11
1 files changed, 9 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_dmesg b/Completion/Unix/Command/_dmesg
index 3dd059214..1aa3bc262 100644
--- a/Completion/Unix/Command/_dmesg
+++ b/Completion/Unix/Command/_dmesg
@@ -1,6 +1,6 @@
 #compdef dmesg
 
-local args
+local -a args
 
 case $OSTYPE in
   linux*) args=( -S --  ) ;;
@@ -27,6 +27,13 @@ case $OSTYPE in
       '-n[use specified kernel core]:number'
     )
   ;;
+  netbsd*)
+    args+=(
+      '-d[show timestamp deltas]'
+      '(-t)-T[format uptime timestamps in a human readable form]'
+      '(-T)-t[suppress printing uptime timestamps]'
+    )
+  ;;
 esac
 
-_arguments -s $args
+_arguments -s : $args