about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_dhclient7
-rw-r--r--Completion/Unix/Command/_pump24
2 files changed, 31 insertions, 0 deletions
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'