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

local ret=1 expl

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

return ret