summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_zdump
blob: 9e71a5f53857421357cc0825735872091c1a4b8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#compdef zdump

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'