diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-07-25 23:59:02 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-07-25 23:59:02 +0000 |
commit | 80bf36e074e7b7c1861b72499cb7d24d2628020c (patch) | |
tree | 08f6ca2de901663db27016f45863b459893681be | |
parent | c42ab7adb5afdd6f9f4c33a5cc9fa5ed1171f2d0 (diff) | |
download | zsh-80bf36e074e7b7c1861b72499cb7d24d2628020c.tar.gz zsh-80bf36e074e7b7c1861b72499cb7d24d2628020c.tar.xz zsh-80bf36e074e7b7c1861b72499cb7d24d2628020c.zip |
21523, 21524: Julius Plenz: completions for pump and dhclient.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_dhclient | 7 | ||||
-rw-r--r-- | Completion/Unix/Command/_pump | 24 |
3 files changed, 36 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d3321ebce..78503d38f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> * unposted: Completion/Unix/Command/_php: add missing compset -S call diff --git a/Completion/Unix/Command/_dhclient b/Completion/Unix/Command/_dhclient new file mode 100644 index 000000000..47af999b0 --- /dev/null +++ b/Completion/Unix/Command/_dhclient @@ -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' diff --git a/Completion/Unix/Command/_pump b/Completion/Unix/Command/_pump new file mode 100644 index 000000000..08da8d4a4 --- /dev/null +++ b/Completion/Unix/Command/_pump @@ -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' |