aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/lsusb.fish
diff options
context:
space:
mode:
authorGravatar leafonsword <leafonsword@gmail.com>2014-01-12 11:59:46 +0800
committerGravatar Konrad Borowski <glitchmr@myopera.com>2014-01-13 20:24:20 +0100
commit129d2f803a8c06b71eea77b268399bb9a0bbff25 (patch)
treef0cd987ed216c058b076917a7fe5b5dd5aee18a5 /share/completions/lsusb.fish
parent71f6986dd68ac5e5872aa67071dd69bb7fe70fad (diff)
新文件: share/completions/lsusb.fish
新文件: share/functions/__fish_complete_usb.fish
Diffstat (limited to 'share/completions/lsusb.fish')
-rw-r--r--share/completions/lsusb.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/completions/lsusb.fish b/share/completions/lsusb.fish
new file mode 100644
index 00000000..ec2a130a
--- /dev/null
+++ b/share/completions/lsusb.fish
@@ -0,0 +1,7 @@
+complete -c lsusb -s v -l verbose --description "Increase verbosity (show descriptors)"
+complete -x -c lsusb -s s -a '(__fish_complete_usb)' --description "Show only devices with specified device and/or bus numbers (in decimal)"
+complete -c lsusb -s d --description "Show only devices with the specified vendor and product ID numbers (in hexadecimal)"
+complete -c lsusb -s D -l device --description "Selects which device lsusb will examine"
+complete -c lsusb -s t -l tree --description "Dump the physical USB device hierarchy as a tree"
+complete -c lsusb -s V -l version --description "Show version of program"
+complete -c lsusb -s h -l help --description "Show usage and help"