mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
25 lines
1.4 KiB
Plaintext
25 lines
1.4 KiB
Plaintext
#compdef pump
|
|
|
|
_arguments \
|
|
'(-c --config-file=)'{-c,--config-file=}'[specify configuration file to use]:configuration file:_files' \
|
|
'(-h --hostname=)'{-h,--hostname=}'[specify hostname to request]:hostname:_hosts' \
|
|
'(-i --interface=)'{-i,--interface=}'[specify interface to configure]:interface:_net_interfaces' \
|
|
'(-k --kill)'{-k,--kill}'[kill daemon (and disable all interfaces)]' \
|
|
'(-l --lease=)'{-l,--lease=}'[specify lease time to request]:time (hours)' \
|
|
'(-L --leasesecs=)'{-L,--leasesecs=}'[specify seconds to request for]:time (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}'[display help information]' \
|
|
"--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=[specify script to use]:script:_files' \
|
|
"--win-client-ident[set the client identifier to match window's]" \
|
|
'--usage[display brief usage message]' \
|
|
':interface:_net_interfaces'
|