]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: add missing option to systemd-confext 30575/head
authorArthur Zamarin <arthurzam@gentoo.org>
Thu, 21 Dec 2023 21:23:13 +0000 (23:23 +0200)
committerArthur Zamarin <arthurzam@gentoo.org>
Thu, 21 Dec 2023 21:23:13 +0000 (23:23 +0200)
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
shell-completion/bash/systemd-confext

index c8eca3b2cbe30ae95182463951d9ed343498f4f9..09d114611c52bb55ece785d8f0090258a22283eb 100644 (file)
@@ -30,9 +30,12 @@ _systemd-confext() {
         [STANDALONE]='-h --help --version
                      --no-pager
                      --no-legend
+                     --no-reload
                      --force'
         [ARG]='--root
-               --json'
+               --json
+               --noexec
+               --image-policy'
     )
 
     local -A VERBS=(
@@ -54,6 +57,12 @@ _systemd-confext() {
             --json)
                 comps='pretty short off'
                 ;;
+            --noexec)
+                comps='false true'
+                ;;
+            --image-policy)
+                comps=''
+                ;;
         esac
         COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
         return 0