1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

21705: OpenBSD date(1) completion

This commit is contained in:
Clint Adams 2005-09-07 19:12:53 +00:00
parent 541dc6998e
commit f384f47984
2 changed files with 13 additions and 3 deletions

@ -1,7 +1,7 @@
2005-09-07 Clint Adams <clint@zsh.org> 2005-09-07 Clint Adams <clint@zsh.org>
* 21704: Completion/Unix/Command/_date: completion for Solaris, * 21704, 21705: Completion/Unix/Command/_date: completion for
and FreeBSD. Solaris, FreeBSD, and OpenBSD.
2005-09-06 Clint Adams <clint@zsh.org> 2005-09-06 Clint Adams <clint@zsh.org>

@ -24,15 +24,25 @@ else
(freebsd*) (freebsd*)
_arguments \ _arguments \
'-u[utc]' \ '-u[utc]' \
'-j[do not try to set date]' \
'-n[only set time on current machine]' \ '-n[only set time on current machine]' \
'-d:daylight savingg time value:' \ '-d:daylight savingg time value:' \
'-j[do not try to set date]' \
'-f:parsing format:' \ '-f:parsing format:' \
'-r:seconds since epoch:' \ '-r:seconds since epoch:' \
'-t:minutes west of GMT:' \ '-t:minutes west of GMT:' \
'-v:adjustment value:' \ '-v:adjustment value:' \
':format or date:' ':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 esac
fi fi