summaryrefslogtreecommitdiffstats
path: root/shell-completion
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-06-04 11:36:01 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-04 15:00:11 +0200
commitefe76b273a40d96ecd51f88ab22aa25fb8e8d358 (patch)
tree76145bd14a5b3f9c0392307b36c4820f4b395967 /shell-completion
parentMerge pull request #19796 from yuwata/udev-node-cleanups (diff)
downloadsystemd-efe76b273a40d96ecd51f88ab22aa25fb8e8d358.tar.xz
systemd-efe76b273a40d96ecd51f88ab22aa25fb8e8d358.zip
shell-completion: udevadm: support --uuid option
Follow-up for 730b9c1e1469dfd6d6850e9ea06da3cac469eba0.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/udevadm2
-rw-r--r--shell-completion/zsh/_udevadm3
2 files changed, 3 insertions, 2 deletions
diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm
index 33d998395e..d2c325b868 100644
--- a/shell-completion/bash/udevadm
+++ b/shell-completion/bash/udevadm
@@ -51,7 +51,7 @@ _udevadm() {
[INFO_STANDALONE]='-r --root -a --attribute-walk -x --export -e --export-db -c --cleanup-db
-w --wait-for-initialization'
[INFO_ARG]='-q --query -p --path -n --name -P --export-prefix -d --device-id-of-file'
- [TRIGGER_STANDALONE]='-v --verbose -n --dry-run -q --quiet -w --settle --wait-daemon'
+ [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'
diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm
index 5e989b4a1d..90800ccfc1 100644
--- a/shell-completion/zsh/_udevadm
+++ b/shell-completion/zsh/_udevadm
@@ -31,7 +31,8 @@ _udevadm_trigger(){
'--property-match=[Trigger events for devices with a matching property value.]' \
'--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.]'
+ '--parent-match=[Trigger events for all children of a given device.]' \
+ '--uuid[Print synthetic uevent UUID.]'
}
(( $+functions[_udevadm_settle] )) ||