summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_zdump
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2026-05-14 22:08:17 +0200
committerOliver Kiddle <opk@zsh.org>2026-05-14 22:08:17 +0200
commitf3cd3a4608d938782bdc881272baa3949d3c37ae (patch)
tree1a2fd64fbd855bb9dead7bb21bc6f5486ef57361 /Completion/Unix/Command/_zdump
parent54518: util: add git merge driver zsh-merge-changelog (diff)
downloadzsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.gz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.bz2
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.lz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.xz
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.tar.zst
zsh-f3cd3a4608d938782bdc881272baa3949d3c37ae.zip
54526: update completions for FreeBSD 14.4 and 15.0
Diffstat (limited to 'Completion/Unix/Command/_zdump')
-rw-r--r--Completion/Unix/Command/_zdump26
1 files changed, 23 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_zdump b/Completion/Unix/Command/_zdump
index f96bdd764..9e71a5f53 100644
--- a/Completion/Unix/Command/_zdump
+++ b/Completion/Unix/Command/_zdump
@@ -1,6 +1,26 @@
#compdef zdump
-_arguments \
- '-v[lowest possible]' \
- '-c[cutoff]:cutoff year:' \
+local -a args
+
+case $OSTYPE in
+ aix*|(net|free)bsd*|linux*|solaris*)
+ args+=( '(-)--version[display version information]' )
+ ;|
+ aix*|(net|free)bsd*|linux*)
+ args+=( '(-)--help[display usage information]' )
+ ;|
+ (net|free)bsd*|linux*)
+ args+=( '-i[output a description of time intervals]' )
+ ;|
+ aix*|(free|net|open)bsd*|linux*)
+ args+=(
+ '(-c)-t[cut off interval output at the given times]:cut off (seconds since epoch)'
+ '(-v)-V[like -v, but omit times relative to the extreme time values]'
+ )
+ ;|
+esac
+
+_arguments -S $args \
+ '(-V)-v[print time at lowest possible time value]' \
+ '(-t)-c[cut off interval output at the given years]:cutoff years [-500,2500]' \
'*:time zone:_time_zone'