]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion: add factory_reset udev builtin command
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Mar 2025 02:24:14 +0000 (11:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Mar 2025 03:42:28 +0000 (12:42 +0900)
shell-completion/bash/udevadm
shell-completion/zsh/_udevadm

index 34b24eccb876350281b286ed0b537865468164fa..f1d907aec8aafd4f628d0756a29876128109ad7c 100644 (file)
@@ -110,7 +110,7 @@ _udevadm() {
     )
 
     local verbs=(info trigger settle control monitor test-builtin test verify cat wait lock)
-    local builtins=(blkid btrfs hwdb input_id keyboard kmod net_driver net_id net_setup_link path_id uaccess usb_id)
+    local builtins=(blkid btrfs factory_reset hwdb input_id keyboard kmod net_driver net_id net_setup_link path_id uaccess usb_id)
 
     for ((i=0; i < COMP_CWORD; i++)); do
         if __contains_word "${COMP_WORDS[i]}" "${verbs[@]}"; then
index 71f75a549c08a8eb6141bd3a5a043107c9c77100..685dece055a619aaa536b4969f13b7ec8cab520a 100644 (file)
@@ -103,7 +103,7 @@ _udevadm_test-builtin(){
         '(- *)'{-h,--help}'[Print help]' \
         '(- *)'{-V,--version}'[Print version of the program]' \
         '--action=[The action string.]:actions:(add change remove move online offline bind unbind)' \
-        '*::builtins:(blkid btrfs hwdb input_id net_driver net_id net_setup_link kmod path_id uaccess usb_id)'
+        '*::builtins:(blkid btrfs factory_reset hwdb input_id keyboard kmod net_driver net_id net_setup_link path_id uaccess usb_id)'
     elif  (( CURRENT == 3 )); then
         _arguments \
             '--action=[The action string.]:actions:(add change remove move online offline bind unbind)' \