From 74614801f6bd33dfb2c051fa6b6d7c899c695cf6 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 17 Aug 2021 23:13:07 +0900 Subject: [PATCH] shell-completion: add missing uevent actions for udevadm --- shell-completion/zsh/_udevadm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-completion/zsh/_udevadm b/shell-completion/zsh/_udevadm index a19829c1dee..87fdb5e42ce 100644 --- a/shell-completion/zsh/_udevadm +++ b/shell-completion/zsh/_udevadm @@ -23,7 +23,7 @@ _udevadm_trigger(){ '--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)' \ - '--action=[Type of event to be triggered.]:actions:(add change remove)' \ + '--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.]' \ '--attr-match=attribute=[Trigger events for devices with a matching sysfs attribute.]' \ @@ -74,7 +74,7 @@ _udevadm_monitor(){ (( $+functions[_udevadm_test] )) || _udevadm_test(){ _arguments \ - '--action=[The action string.]:actions:(add change remove)' \ + '--action=[The action string.]:actions:(add change remove move online offline bind unbind)' \ '--subsystem=[The subsystem string.]' \ '--help[Print help text.]' \ '*::devpath:_files -P /sys/ -W /sys' -- 2.47.3