From: Yu Watanabe Date: Wed, 10 Jan 2018 06:34:30 +0000 (+0900) Subject: bash-completion: bootctl: support more options and verbs X-Git-Tag: v237~106^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92360836a0abe0652be54df7b347cab54a7edee7;p=platform%2Fupstream%2Fsystemd.git bash-completion: bootctl: support more options and verbs --- diff --git a/shell-completion/bash/bootctl b/shell-completion/bash/bootctl index 34b1b55..9d7b51b 100644 --- a/shell-completion/bash/bootctl +++ b/shell-completion/bash/bootctl @@ -29,7 +29,8 @@ _bootctl() { local i verb comps local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} local -A OPTS=( - [STANDALONE]='-h --help --version' + [STANDALONE]='-h --help --no-variables -p --print-path --version' + [ARG]='--path' ) if [[ "$cur" = -* ]]; then @@ -38,7 +39,7 @@ _bootctl() { fi local -A VERBS=( - [STANDALONE]='status' + [STANDALONE]='help install list remove status update' ) for ((i=0; i < COMP_CWORD; i++)); do