mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
16293: completion for arping
This commit is contained in:
parent
e3e942a005
commit
6b1f011240
3 changed files with 24 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
'
|
||||
|
|
20
Completion/Unix/Command/_arping
Normal file
20
Completion/Unix/Command/_arping
Normal file
|
@ -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' \
|
Loading…
Reference in a new issue