summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-05-27 04:58:30 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-28 09:49:57 +0200
commit2789437be503149340d3efbb18f83540dc405f56 (patch)
tree4cd9ab8fe0b64832a1d1e669cebe45633fe2802a
parent3f0d8b2dbd67fdbcf36895704b64381e3aecbaa7 (diff)
downloadsystemd-2789437be503149340d3efbb18f83540dc405f56.tar.gz
bash-completion: update options for bootctl
-rw-r--r--shell-completion/bash/bootctl6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl
index 7e568dc3bd..27b73900f7 100644
--- a/shell-completion/bash/bootctl
+++ b/shell-completion/bash/bootctl
@@ -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