about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_arping20
3 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index deff79751..c1424203f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-11-29  Clint Adams  <clint@zsh.org>
 
+	* 16293: Completion/Unix/Command/.distfiles,
+	Completion/Unix/Command/_arping: completion for arping.
+
 	* 16292: Completion/Unix/Command/.distfiles,
 	Completion/Unix/Command/_rsync: completion for rsync.
 
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' \