summaryrefslogtreecommitdiff
path: root/Completion/Zsh/Command/_strftime
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_strftime')
-rw-r--r--Completion/Zsh/Command/_strftime6
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_strftime b/Completion/Zsh/Command/_strftime
index 24ff7dc3e..0849f1c85 100644
--- a/Completion/Zsh/Command/_strftime
+++ b/Completion/Zsh/Command/_strftime
@@ -4,9 +4,11 @@ local ret=1 expl
_arguments -S -A '-*' -s \
'-q[run quietly]' \
- '-r[reverse lookup using strptime]' \
+ '(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)' && ret=0
+ '2:epoch time (or date string with -r)' \
+ '3:nanoseconds' \
+&& ret=0
return ret