summaryrefslogtreecommitdiff
path: root/shell-completion/bash/bootctl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/bootctl')
-rw-r--r--shell-completion/bash/bootctl5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl
index fd71cffe3f..0b7cef7871 100644
--- a/shell-completion/bash/bootctl
+++ b/shell-completion/bash/bootctl
@@ -32,7 +32,7 @@ _bootctl() {
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local -A OPTS=(
[STANDALONE]='-h --help -p --print-esp-path -x --print-boot-path --version --no-variables --no-pager --graceful'
- [ARG]='--esp-path --boot-path --make-machine-id-directory --root --image'
+ [ARG]='--esp-path --boot-path --make-machine-id-directory --root --image --install-source'
)
if __contains_word "$prev" ${OPTS[ARG]}; then
@@ -52,6 +52,9 @@ _bootctl() {
compopt -o nospace
comps=$( compgen -A file -- "$cur" )
;;
+ --install-source)
+ comps="image host auto"
+ ;;
esac
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
return 0