diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2020-02-14 01:58:20 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2020-02-14 01:58:20 +0100 |
commit | bfc5d42735c1660263904ec5254cccf539a0a458 (patch) | |
tree | 9bbb81b4a53941427e6f9e65ae55027d9108df8c /Completion/Unix/Command/_date | |
parent | 74561cc51b8867e43cb2937ab2edfb36e2a829bf (diff) | |
parent | 643de931640e01aa246723d2038328ef33737965 (diff) | |
download | zsh-bfc5d42735c1660263904ec5254cccf539a0a458.tar.gz zsh-bfc5d42735c1660263904ec5254cccf539a0a458.zip |
Merge tag 'zsh-5.7.1-test-3' into debian
Test release: 5.7.1-test-3
Diffstat (limited to 'Completion/Unix/Command/_date')
-rw-r--r-- | Completion/Unix/Command/_date | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date index a3e933710..68bd357fb 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' ) ;| @@ -40,8 +40,7 @@ else ;| freebsd*|dragonfly*|darwin*|openbsd*) args+=( - '-d+:daylight saving time value' - '-t+:minutes west of GMT' + '-f+[use specified format for input]:parsing format:_date_formats:new date' ) ;| dragonfly*|darwin*|netbsd*|openbsd*) @@ -57,14 +56,16 @@ 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]:' + '-d+:daylight saving time value' + '-t+:minutes west of GMT' + "*-v+[adjust and print (but don't set) date]:[+-]value[ymwdHMS]" ) - ;; + ;| freebsd*|dragonfly*) args+=( '-R[display in RFC2822 format]' ) ;| |