2005-09-20 21:31:55 +08:00
|
|
|
#completion for arp
|
2006-01-08 10:56:56 +08:00
|
|
|
complete -c arp -s v -l verbose -d (_ "Verbose mode")
|
2006-01-09 07:13:06 +08:00
|
|
|
complete -c arp -s n -l numeric -d (_ "Numerical address")
|
|
|
|
complete -x -c arp -s H -l tw-type -a "ether arcnet pronet ax25 netrom" -d (_ "Class of hw type")
|
|
|
|
complete -c arp -s a -l display -x -a "(__fish_print_hostnames)" -d (_ "Show arp entries")
|
|
|
|
complete -x -c arp -s d -l delete -a "(__fish_print_hostnames)" -d (_ "Remove an entry for hostname")
|
|
|
|
complete -c arp -s D -l use-device -d (_ "Use hardware address")
|
|
|
|
complete -x -c arp -s i -l device -a "(__fish_print_interfaces)" -d (_ "Select interface")
|
2006-01-08 10:56:56 +08:00
|
|
|
complete -x -c arp -s s -l set -d (_ "Manually create ARP address") -a "(__fish_print_hostnames)"
|
2006-01-09 07:13:06 +08:00
|
|
|
complete -f -c arp -s f -l file -d (_ "Take addr from filename, default /etc/ethers")
|
2005-09-20 21:31:55 +08:00
|
|
|
|