diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-01-10 17:10:36 +0900 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:50:08 +0200 |
commit | f40fc1151dc0225aa2acf884a0ce3cceb1a00aac (patch) | |
tree | 4dfe944b8377e64928a21296329960fad7792517 /shell-completion | |
parent | 12f5bbdc36dd4688d6bad38ff1055f6d00a9fd12 (diff) |
bash-completion: loginctl: add missing options and verbs
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/loginctl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl index d8d14f889..f78139b26 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' ) |