fish-shell/share/completions/arp.fish
Johannes Altmanninger 9c327b19a6 Fix extra or missing newlines at end of file in our fish scripts
New fish_indent does that too, so this will make any future reformatting
diffs smaller.

Done using either of:

	perl -pi -e 'undef $/; s/\n*$/\n/' share/**.fish
	kak -n -f '<a-/>\n*<ret>d' share/**.fish
2020-08-09 23:53:46 +02:00

10 lines
728 B
Fish

#completion for arp
complete -c arp -s v -l verbose -d "Verbose mode"
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"
complete -x -c arp -s s -l set -d "Manually create ARP address" -a "(__fish_print_hostnames)"
complete -f -c arp -s f -l file -d "Take addr from filename, default /etc/ethers"