about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_date4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date
index 8f85af1ad..d07131dc4 100644
--- a/Completion/Unix/Command/_date
+++ b/Completion/Unix/Command/_date
@@ -43,6 +43,6 @@ else
 fi
 
 _arguments \
-  "$args[@]" \
   '-u[display or set time in UTC]' \
-  ':format or date'
+  ': :_guard "^--*" "format or date"' \
+  "$args[@]"