mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-08 09:41:14 +02:00
12 lines
275 B
Text
12 lines
275 B
Text
#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
|