about summary refs log tree commit diff
path: root/Completion/Unix/Command/_date
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2019-05-09 00:17:04 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-05-09 00:17:04 +0200
commit09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7 (patch)
tree601415774d4ab34958807bc0872322d9062a59a0 /Completion/Unix/Command/_date
parentffacb17886e8071332c0b1dc8263e7dbe6af268a (diff)
downloadzsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.tar.gz
zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.tar.xz
zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.zip
44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5
Diffstat (limited to 'Completion/Unix/Command/_date')
-rw-r--r--Completion/Unix/Command/_date9
1 files changed, 4 insertions, 5 deletions
diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date
index a3e933710..91bd3b5f1 100644
--- a/Completion/Unix/Command/_date
+++ b/Completion/Unix/Command/_date
@@ -31,7 +31,7 @@ else
     freebsd*|dragonfly*|darwin*|netbsd*|openbsd*)
       opts+=( -A '-*' )
       args+=(
-	'-j[do not try to set date]'
+	"-j[don't try to set date]"
 	'2:format or date:->fmt_date'
       )
     ;|
@@ -41,6 +41,7 @@ else
     freebsd*|dragonfly*|darwin*|openbsd*)
       args+=(
 	'-d+:daylight saving time value'
+	'-f+[use specified format for input]:parsing format:_date_formats:new date'
 	'-t+:minutes west of GMT'
       )
     ;|
@@ -57,13 +58,11 @@ else
       )
       args+=(
 	'-r+[reference time: file modification or literal time]:reference: _alternative $alts'
+	'(-R)-I-[display in ISO 8601 format]::precision:(date hours minutes seconds)'
       )
     ;|
     freebsd*|dragonfly*|darwin*)
-      args+=(
-	'-f+[use specified format for input]:parsing format:_date_formats:new date:'
-	'*-v+[adjust and print (but not set) date]:[+-]value[ymwdHMS]:'
-      )
+      args+=( "*-v+[adjust and print (but don't set) date]:[+-]value[ymwdHMS]" )
     ;;
     freebsd*|dragonfly*)
       args+=( '-R[display in RFC2822 format]' )