summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-03-04 21:45:24 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-03-22 15:27:06 +0900
commit1baeee5784f1b859d2a1446f6776efe6d7fde7b6 (patch)
tree46df35173d5328afc129f05702e9f1ed80486c38 /shell-completion
parent873cf95c2f214aa8619f0a06cad53bf5ef233744 (diff)
downloadsystemd-1baeee5784f1b859d2a1446f6776efe6d7fde7b6.tar.gz
udevadm trigger: introduce --type=all option
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/udevadm2
-rw-r--r--shell-completion/zsh/_udevadm2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm
index b68a332500..4d52597cbf 100644
--- a/shell-completion/bash/udevadm
+++ b/shell-completion/bash/udevadm
@@ -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 )
diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm
index d9d995fb33..8a10237e3d 100644
--- a/shell-completion/zsh/_udevadm
+++ b/shell-completion/zsh/_udevadm
@@ -24,7 +24,7 @@ _udevadm_trigger(){
'--verbose[Print the list of devices which will be triggered.]' \
'--dry-run[Do not actually trigger the event.]' \
'--quiet[Suppress error logging in triggering events.]' \
- '--type=[Trigger a specific type of devices.]:types:(devices subsystems failed)' \
+ '--type=[Trigger a specific type of devices.]:types:(all devices subsystems failed)' \
'--action=[Type of event to be triggered.]:actions:(add change remove move online offline bind unbind)' \
'--subsystem-match=[Trigger events for devices which belong to a matching subsystem.]' \
'--subsystem-nomatch=[Do not trigger events for devices which belong to a matching subsystem.]' \