]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - shell-completion/bash/bootctl
Merge pull request #12753 from jrouleau/fix/hibernate-resume-timeout
[thirdparty/systemd.git] / shell-completion / bash / bootctl
index 7e568dc3bd7965faa022443ef29c83417548f5d9..27b73900f736d1b6701ee4b797790fde523a6037 100644 (file)
@@ -31,13 +31,13 @@ _bootctl() {
     local i verb comps
     local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
     local -A OPTS=(
-        [STANDALONE]='-h --help --no-variables -p --print-path --version --no-pager'
-        [ARG]='--path'
+        [STANDALONE]='-h --help --no-variables -p --print-esp-path -x --print-boot-path --version --no-pager'
+        [ARG]='--esp-path --boot-path'
     )
 
     if __contains_word "$prev" ${OPTS[ARG]}; then
         case $prev in
-            --path)
+            --esp-path|--boot-path)
                 if [[ -z $cur ]]; then
                     comps=$(compgen -A directory -- "/" )
                 else