about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-11-29 17:58:50 +0000
committerClint Adams <clint@users.sourceforge.net>2001-11-29 17:58:50 +0000
commit6b1f0112402e9aba5a451d6e91f430896fda1559 (patch)
treeb191d06d3f48c7355a4a6165535e0f497c9fa8aa /Completion/Unix/Command
parente3e942a005b99e8b35cc9b05d0bb802b9ed8fbe8 (diff)
downloadzsh-6b1f0112402e9aba5a451d6e91f430896fda1559.tar.gz
zsh-6b1f0112402e9aba5a451d6e91f430896fda1559.tar.xz
zsh-6b1f0112402e9aba5a451d6e91f430896fda1559.zip
16293: completion for arping
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_arping20
2 files changed, 21 insertions, 1 deletions
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 1a44b1d7d..f8ac246e0 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -15,5 +15,5 @@ _dd           _gprof        _lynx         _perldoc      _telnet       _pine
 _dict         _grep         _lzop         _prcs         _tiff         _elm
 _diff         _gs           _make         _psutils      _tin	_apm  _mail
 _last         _loadkeys     _modutils     _ruby         _sysctl _links _samba
-_user_admin   _rsync
+_user_admin   _rsync        _arping
 '
diff --git a/Completion/Unix/Command/_arping b/Completion/Unix/Command/_arping
new file mode 100644
index 000000000..89bdccd92
--- /dev/null
+++ b/Completion/Unix/Command/_arping
@@ -0,0 +1,20 @@
+#compdef arping
+
+_arguments -s \
+	'-h[help]' \
+	'-q[quiet]' \
+	'-v[verbose]' \
+	'-r[raw]' \
+	'-R[Raw]' \
+	'-d[find duplicate replies]' \
+	'-B[255.255.255.255]' \
+	'-0[source 0.0.0.0]' \
+	'-b[source 255.255.255.255]' \
+	'-S[set source IP]:source IP address:_hosts' \
+	'-T[target IP]:target IP address:_hosts' \
+        '-p[promiscuous mode]' \
+	'-s[set source MAC address]:source MAC address:' \
+	'-t[set target MAC address]:target MAC address:' \
+	'-c[send this many requests]:count:' \
+	'-i[interface]:interface:' \
+	':address:_hosts' \