summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-03-05 00:23:13 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-03-22 15:27:06 +0900
commit873cf95c2f214aa8619f0a06cad53bf5ef233744 (patch)
treed162291ed4ede022450b058231c7ea913fc3f06b /shell-completion
parent3c5cc23a93d0fc89bc2f90aea25c2945cefe4121 (diff)
downloadsystemd-873cf95c2f214aa8619f0a06cad53bf5ef233744.tar.gz
udevadm trigger: introduce --prioritized-subsystem option
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/udevadm3
-rw-r--r--shell-completion/zsh/_udevadm3
2 files changed, 4 insertions, 2 deletions
diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm
index 08b4ab43a0..b68a332500 100644
--- a/shell-completion/bash/udevadm
+++ b/shell-completion/bash/udevadm
@@ -54,7 +54,8 @@ _udevadm() {
[TRIGGER_STANDALONE]='-v --verbose -n --dry-run -q --quiet -w --settle --wait-daemon --uuid'
[TRIGGER_ARG]='-t --type -c --action -s --subsystem-match -S --subsystem-nomatch
-a --attr-match -A --attr-nomatch -p --property-match
- -g --tag-match -y --sysname-match --name-match -b --parent-match'
+ -g --tag-match -y --sysname-match --name-match -b --parent-match
+ --prioritized-subsystem'
[SETTLE]='-t --timeout -E --exit-if-exists'
[CONTROL_STANDALONE]='-e --exit -s --stop-exec-queue -S --start-exec-queue -R --reload --ping'
[CONTROL_ARG]='-l --log-priority -p --property -m --children-max -t --timeout'
diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm
index 14efe24808..d9d995fb33 100644
--- a/shell-completion/zsh/_udevadm
+++ b/shell-completion/zsh/_udevadm
@@ -34,7 +34,8 @@ _udevadm_trigger(){
'--tag-match=property[Trigger events for devices with a matching tag.]' \
'--sysname-match=[Trigger events for devices with a matching sys device name.]' \
'--parent-match=[Trigger events for all children of a given device.]' \
- '--uuid[Print synthetic uevent UUID.]'
+ '--uuid[Print synthetic uevent UUID.]' \
+ '--prioritized-subsystem=[Trigger events for devices which belong to a matching subsystem earlier.]'
}
(( $+functions[_udevadm_settle] )) ||