From 2789437be503149340d3efbb18f83540dc405f56 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 27 May 2019 04:58:30 +0900 Subject: [PATCH] bash-completion: update options for bootctl --- shell-completion/bash/bootctl | 6 +++--- 1 file 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 -- 2.25.1