fish-shell/share/completions/arp.fish
axel c2f6c6c1d2 Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00

11 lines
775 B
Fish

#completion for arp
complete -c arp -s v -l verbose -d (N_ "Verbose mode")
complete -c arp -s n -l numeric -d (N_ "Numerical address")
complete -x -c arp -s H -l tw-type -a "ether arcnet pronet ax25 netrom" -d (N_ "Class of hw type")
complete -c arp -s a -l display -x -a "(__fish_print_hostnames)" -d (N_ "Show arp entries")
complete -x -c arp -s d -l delete -a "(__fish_print_hostnames)" -d (N_ "Remove an entry for hostname")
complete -c arp -s D -l use-device -d (N_ "Use hardware address")
complete -x -c arp -s i -l device -a "(__fish_print_interfaces)" -d (N_ "Select interface")
complete -x -c arp -s s -l set -d (N_ "Manually create ARP address") -a "(__fish_print_hostnames)"
complete -f -c arp -s f -l file -d (N_ "Take addr from filename, default /etc/ethers")