mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
384975c892
* Shorten various long descriptions * Address review comments
12 lines
680 B
Fish
12 lines
680 B
Fish
function __fish_complete_lsusb
|
|
lsusb | awk -F[ :] '{ print $2 ":" $4 }'
|
|
end
|
|
|
|
complete -c lsusb -s v -l verbose -d "Increase verbosity (show descriptors)"
|
|
complete -x -c lsusb -s s -a '(__fish_complete_lsusb)' -d "Show only devices with specified device and/or bus numbers (in decimal)"
|
|
complete -c lsusb -s d -d "Show only devices with the given vendor and product ID numbers (in hexadecimal)"
|
|
complete -c lsusb -s D -l device -d "Selects which device lsusb will examine"
|
|
complete -c lsusb -s t -l tree -d "Dump the physical USB device hierarchy as a tree"
|
|
complete -c lsusb -s V -l version -d "Show version of program"
|
|
complete -c lsusb -s h -l help -d "Show usage and help"
|