about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/_date4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 17f851db6..231d2da47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-14  Clint Adams  <schizo@debian.org>
+
+	* 23275: Completion/Unix/Command/_date: change order of
+	arguments to _arguments so that options will actually be
+	completed.
+
 2007-04-13  Peter Stephenson  <pws@csr.com>
 
 	* 23273: Src/params.c, Test/D04parameter.ztst: bad patterns
diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date
index 2dc977dc8..8f85af1ad 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' \
-  $args[@]
+  ':format or date'