From: Yu Watanabe Date: Sun, 26 May 2019 19:58:30 +0000 (+0900) Subject: bash-completion: update options for bootctl X-Git-Tag: v243~490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2789437be503149340d3efbb18f83540dc405f56;p=platform%2Fupstream%2Fsystemd.git bash-completion: update options for bootctl --- diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl index 7e568dc..27b7390 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