summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-09-07 19:12:53 +0000
committerClint Adams <clint@users.sourceforge.net>2005-09-07 19:12:53 +0000
commitf384f479849294da76608a5608bc2fcf08f298f0 (patch)
treeee93fa25d2b12e8bc529f5fb3be1317aeeaf00bf
parent541dc6998e2384d7ce5130ccc5a25b8b8aa14dbf (diff)
downloadzsh-f384f479849294da76608a5608bc2fcf08f298f0.tar.gz
zsh-f384f479849294da76608a5608bc2fcf08f298f0.tar.xz
zsh-f384f479849294da76608a5608bc2fcf08f298f0.zip
21705: OpenBSD date(1) completion
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_date12
2 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d020f87a8..d3a8c8289 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2005-09-07  Clint Adams  <clint@zsh.org>
 
-	* 21704: Completion/Unix/Command/_date: completion for Solaris,
-	and FreeBSD.
+	* 21704, 21705: Completion/Unix/Command/_date: completion for
+	Solaris, FreeBSD, and OpenBSD.
 
 2005-09-06  Clint Adams  <clint@zsh.org>
 
diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date
index be00a0f0a..8b1b389aa 100644
--- a/Completion/Unix/Command/_date
+++ b/Completion/Unix/Command/_date
@@ -24,15 +24,25 @@ else
 	  (freebsd*)
 	  _arguments \
 	    '-u[utc]' \
-	    '-j[do not try to set date]' \
 	    '-n[only set time on current machine]' \
 	    '-d:daylight savingg time value:' \
+	    '-j[do not try to set date]' \
 	    '-f:parsing format:' \
 	    '-r:seconds since epoch:' \
 	    '-t:minutes west of GMT:' \
 	    '-v:adjustment value:' \
             ':format or date:'
 	  ;;
+	  (openbsd*)
+	  _arguments \
+	    '-u[utc]' \
+	    '-n[only set time on current machine]' \
+	    '-d:daylight savingg time value:' \
+	    '-a[gradually skew]' \
+	    '-r:seconds since epoch:' \
+	    '-t:minutes west of GMT:' \
+            ':format or date:'
+	  ;;
   esac
 fi