diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-01-10 17:10:36 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-01-10 23:16:41 +0900 |
commit | fe56e4ba4736c12d0ebc16d43d0ee81bc360965f (patch) | |
tree | 01c6de73fe679f029868f5f7f6d770cfe53e61bd /shell-completion | |
parent | f822279e6205722417f28a225bebf15261a7b547 (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 d8d14f889a..f78139b266 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' ) |