From: Yu Watanabe Date: Tue, 17 Aug 2021 14:13:07 +0000 (+0900) Subject: shell-completion: add missing uevent actions for udevadm X-Git-Tag: v250-rc1~814^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74614801f6bd33dfb2c051fa6b6d7c899c695cf6;p=thirdparty%2Fsystemd.git shell-completion: add missing uevent actions for udevadm --- 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'