mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
42309: A few small updates for OpenBSD
This commit is contained in:
parent
12704997a3
commit
b5572f9037
4 changed files with 19 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2018-01-23 Oliver Kiddle <okiddle@yahoo.co.uk>
|
||||||
|
|
||||||
|
* Matthew Martin: 42309: Completion/Unix/Command/_dhclient,
|
||||||
|
Completion/Unix/Command/_id, Completion/Unix/Command/_install:
|
||||||
|
A few small updates for OpenBSD
|
||||||
|
|
||||||
2018-01-22 Peter Stephenson <p.stephenson@samsung.com>
|
2018-01-22 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
* Daniel Tamelin: 42305: INSTALL: CVS should be git.
|
* Daniel Tamelin: 42305: INSTALL: CVS should be git.
|
||||||
|
|
|
@ -20,6 +20,7 @@ case $OSTYPE in
|
||||||
args+=(
|
args+=(
|
||||||
'-i+[ignore values provided by leases for specified options]:options'
|
'-i+[ignore values provided by leases for specified options]:options'
|
||||||
'-L+[specify file to write option data too]:file:_files'
|
'-L+[specify file to write option data too]:file:_files'
|
||||||
|
"-n[don't configure any interfaces]"
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
*) # ISC implementation, used on Linux and NetBSD
|
*) # ISC implementation, used on Linux and NetBSD
|
||||||
|
|
|
@ -32,7 +32,11 @@ else
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
openbsd*)
|
openbsd*)
|
||||||
args+=( '(-)-R[display the routing table of the current process]' )
|
args+=(
|
||||||
|
'(-)-c[display the login class]'
|
||||||
|
'(-)-p[make the output human readable]'
|
||||||
|
'(-)-R[display the routing table of the current process]'
|
||||||
|
)
|
||||||
;;
|
;;
|
||||||
darwin*|dragonfly*|freebsd*)
|
darwin*|dragonfly*|freebsd*)
|
||||||
args+=( '(-)-P[print id in the form of a password file entry]' )
|
args+=( '(-)-P[print id in the form of a password file entry]' )
|
||||||
|
|
|
@ -48,13 +48,13 @@ else
|
||||||
'-L+[use user/group database files from specified directory]: :_directories'
|
'-L+[use user/group database files from specified directory]: :_directories'
|
||||||
'-l[fall back to system files if user/group not found in -L directory]'
|
'-l[fall back to system files if user/group not found in -L directory]'
|
||||||
)
|
)
|
||||||
[[ $OSTYPE == netbsd* ]] && {
|
[[ $OSTYPE == netbsd* ]] && args+=(
|
||||||
args+=(
|
'-a+[specify shell command to run on files after install]:shell command'
|
||||||
'-a+[specify shell command to run on files after install]:shell command'
|
'-r[use temporary files to perform safe copy]'
|
||||||
'-r[use temporary files to perform safe copy]'
|
'-S+[specify arguments to pass to strip program]:arguments to strip program'
|
||||||
'-S+[specify arguments to pass to strip program]:arguments to strip program'
|
)
|
||||||
)
|
[[ $OSTYPE == (net|open)bsd* ]] && {
|
||||||
# NetBSD has no -v for some reason
|
# (Net|Open)BSD has no -v for some reason
|
||||||
args=( ${args##((#s)|*\))(\*|)-v*} )
|
args=( ${args##((#s)|*\))(\*|)-v*} )
|
||||||
}
|
}
|
||||||
[[ $OSTYPE == openbsd* ]] && args+=(
|
[[ $OSTYPE == openbsd* ]] && args+=(
|
||||||
|
|
Loading…
Reference in a new issue