From ab159e42d82f7bedb0ee7e64cbd79c2912ff4ea2 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 21 Apr 2007 05:10:50 +0000 Subject: 23303: use _guard. --- Completion/Unix/Command/_date | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion') 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[@]" -- cgit 1.4.1