mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-03 08:11:03 +02:00
21523, 21524: Julius Plenz: completions for pump and dhclient.
This commit is contained in:
parent
c42ab7adb5
commit
80bf36e074
3 changed files with 36 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-07-25 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* 21523, 21524: Julius Plenz: Completion/Unix/Command/_dhclient,
|
||||||
|
Completion/Unix/Command/_pump: completions for pump and dhclient.
|
||||||
|
|
||||||
2005-07-25 Doug Kearns <djkea2@gus.gscit.monash.edu.au>
|
2005-07-25 Doug Kearns <djkea2@gus.gscit.monash.edu.au>
|
||||||
|
|
||||||
* unposted: Completion/Unix/Command/_php: add missing compset -S call
|
* unposted: Completion/Unix/Command/_php: add missing compset -S call
|
||||||
|
|
7
Completion/Unix/Command/_dhclient
Normal file
7
Completion/Unix/Command/_dhclient
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#compdef dhclient
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
'-p[Port to transmit to / listen on]' \
|
||||||
|
'-e[Exit if configuration failed after a certain time]' \
|
||||||
|
'-d[Force to run in foreground]' \
|
||||||
|
':Interface:_net_interfaces'
|
24
Completion/Unix/Command/_pump
Normal file
24
Completion/Unix/Command/_pump
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
#compdef pump
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
'(-c --config-file=)'{-c,--config-file=}'[Configuratio file to use]:Configuratio file to use:_files' \
|
||||||
|
'(-h --hostname=)'{-h,--hostname=}'[Hostname to request]:Hostname:_hosts' \
|
||||||
|
'(-i --interface=)'{-i,--interface=}'[Interface to configure]:Interface:_net_interfaces' \
|
||||||
|
'(-k --kill)'{-k,--kill}'[Kill daemon (and disable all interfaces)]' \
|
||||||
|
'(-l --lease=)'{-l,--lease=}'[Lease time to request (in hours)]' \
|
||||||
|
'(-L --leasesecs=)'{-L,--leasesecs=}'[Lease time to request (in seconds)]' \
|
||||||
|
'(-r --release)'{-r,--release}'[Release interface]:Interface:_net_interfaces' \
|
||||||
|
'(-R --renew)'{-R,--renew}'[Force immediate lease renewal]:Interface:_net_interfaces' \
|
||||||
|
'(-v --verbose)'{-v,--verbose}'[Log verbose debug info]' \
|
||||||
|
'(-s --status)'{-s,--status}'[Display interface status]:Interface:_net_interfaces' \
|
||||||
|
'(-d --no-dns)'{-d,--no-dns}"[Don't update resolv.conf]" \
|
||||||
|
'(-? --help)'{-?,--help}'[Display help message]' \
|
||||||
|
"--no-gateway[Don't set a gateway for this interface]" \
|
||||||
|
"--no-setup[Don't set up anything]" \
|
||||||
|
"--no-resolvconf[Don't set up resolvconf]" \
|
||||||
|
'--no-bootp[Ignore non-DHCP BOOTP responses]' \
|
||||||
|
'--lookup-hostname[Force lookup of hostname]' \
|
||||||
|
'--script=[Script to use]:Script to use:_files' \
|
||||||
|
"--win-client-ident[Set the client identifier to match Window's]" \
|
||||||
|
'--usage[Display brief usage message]' \
|
||||||
|
':Interface:_net_interfaces'
|
Loading…
Reference in a new issue