blob: 08ec026ed6a609fd42cb1054f3b3347c95426f68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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'
|