From efe76b273a40d96ecd51f88ab22aa25fb8e8d358 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 4 Jun 2021 18:36:01 +0900 Subject: [PATCH] shell-completion: udevadm: support --uuid option Follow-up for 730b9c1e1469dfd6d6850e9ea06da3cac469eba0. --- shell-completion/bash/udevadm | 2 +- shell-completion/zsh/_udevadm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/shell-completion/bash/udevadm b/shell-completion/bash/udevadm index 33d998395e3..d2c325b8686 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 5e989b4a1d6..90800ccfc16 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] )) || -- 2.47.3