about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-04-21 05:10:50 +0000
committerClint Adams <clint@users.sourceforge.net>2007-04-21 05:10:50 +0000
commitab159e42d82f7bedb0ee7e64cbd79c2912ff4ea2 (patch)
treee48a93c0afbb2c1fa36c682a5b0241ffe4b2da4e /Completion
parentad2d19e2e631ad10dbed53578445ac9929237a89 (diff)
downloadzsh-ab159e42d82f7bedb0ee7e64cbd79c2912ff4ea2.tar.gz
zsh-ab159e42d82f7bedb0ee7e64cbd79c2912ff4ea2.tar.xz
zsh-ab159e42d82f7bedb0ee7e64cbd79c2912ff4ea2.zip
23303: use _guard.
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[@]"