about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_strftime
blob: 0849f1c85cfff5f2e3e9ece10c2598f779fc0ed8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#compdef strftime

local ret=1 expl

_arguments -S -A '-*' -s \
  '-q[run quietly]' \
  '(3)-r[reverse lookup using strptime]' \
  '-s+[assign result to parameter]:param:_parameters' \
  '1:format: _date_formats zsh' \
  '2:epoch time (or date string with -r)' \
  '3:nanoseconds' \
&& ret=0

return ret