diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-05-08 03:45:15 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-05-08 03:45:15 +0000 |
commit | a3756fd1b8e8dc80efa1f08ec3130f467c72aac4 (patch) | |
tree | 3ab74c4b03bdadbfac351dcc829095d892b485d2 /Completion/Unix/Command/_dhclient | |
parent | 7bbd96eb48a07e2e5013f1a4d8dcaf941f10d754 (diff) | |
download | zsh-a3756fd1b8e8dc80efa1f08ec3130f467c72aac4.tar.gz zsh-a3756fd1b8e8dc80efa1f08ec3130f467c72aac4.tar.xz zsh-a3756fd1b8e8dc80efa1f08ec3130f467c72aac4.zip |
Merge of workers/{21523,21524,21526}.
Diffstat (limited to 'Completion/Unix/Command/_dhclient')
-rw-r--r-- | Completion/Unix/Command/_dhclient | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_dhclient b/Completion/Unix/Command/_dhclient new file mode 100644 index 000000000..dafe299d9 --- /dev/null +++ b/Completion/Unix/Command/_dhclient @@ -0,0 +1,28 @@ +#compdef dhclient dhclient3 + +local args + +if _pick_variant three=V3 two --help; then + args=( + '-q[quiet]' + '-1[only try once to get a lease]' + '-r[release the current lease]' + '-lf[lease file]:lease file:_files' + '-pf[pid file]:pid file:_files' + '-cf[config file]:config file:_files' + '-sf[script file]:script file:_files' + '-e[env vars to pass to child processes]:env var key value pairs:' + '-s[transmit to specific target instead of broadcast]:server:_hosts' + '-g[force giaddr field]:relay:_hosts' + '-n[do not configure any interfaces]' + '-nw[daemonize immediately rather than wait for IP acquisition]' + '-w[do not exit if there are no interfaces found to configure]' + ) +else + args=( '-e[exit if configuration failed after a certain time]' ) +fi + +_arguments $args \ + '-p[port to transmit to / listen on]:_ports' \ + '-d[force to run in foreground]' \ + ':interface:_net_interfaces' |