From: Yu Watanabe Date: Wed, 10 Jan 2018 08:10:36 +0000 (+0900) Subject: bash-completion: loginctl: add missing options and verbs X-Git-Tag: v237~106^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe56e4ba4736c12d0ebc16d43d0ee81bc360965f;p=platform%2Fupstream%2Fsystemd.git bash-completion: loginctl: add missing options and verbs --- diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl index d8d14f8..f78139b 100644 --- a/shell-completion/bash/loginctl +++ b/shell-completion/bash/loginctl @@ -34,10 +34,11 @@ _loginctl () { local i verb comps local -A OPTS=( - [STANDALONE]='--all -a --help -h --no-pager --privileged -P --version - --no-legend --no-ask-password -l --full' - [ARG]='--host -H --kill-who --property -p --signal -s --machine' - ) + [STANDALONE]='--all -a --help -h --no-pager --version + --no-legend --no-ask-password -l --full --value' + [ARG]='--host -H --kill-who --property -p --signal -s -M --machine + -n --lines -o --output' + ) if __contains_word "$prev" ${OPTS[ARG]}; then case $prev in @@ -69,7 +70,7 @@ _loginctl () { [SESSIONS]='session-status show-session activate lock-session unlock-session terminate-session kill-session' [USERS]='user-status show-user enable-linger disable-linger terminate-user kill-user' [SEATS]='seat-status show-seat terminate-seat' - [STANDALONE]='list-sessions list-users list-seats flush-devices' + [STANDALONE]='list-sessions lock-sessions unlock-sessions list-users list-seats flush-devices' [ATTACH]='attach' )