summary refs log tree commit diff
path: root/Completion/Unix/Command/_arping
blob: 382ce247e6aec9f071a9ae9f81cc51dcd98c6e75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#compdef arping

_arguments -s \
  '(-)-h[display help information]' \
  '-q[only display error messages]' \
  '-a[audible ping]' \
  '*-v[verbose output]' \
  '-r[raw output: only the MAC/IP address displayed]' \
  '-R[like -r but shows "the other one"]' \
  '-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[turn on 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' \
  '-A[only count addresses matching requested address]' \
  '(-B):address:_hosts' \