udevadm trigger: introduce --type=all option

This commit is contained in:
Yu Watanabe
2022-03-22 15:27:06 +09:00
parent 873cf95c2f
commit 1baeee5784
4 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ _udevadm() {
if __contains_word "$prev" ${OPTS[TRIGGER_ARG]}; then
case $prev in
-t|--type)
comps='devices subsystems'
comps='all devices subsystems'
;;
-c|--action)
comps=$( udevadm trigger --action help )