1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

bash-completion: busctl: support more options and verbs

This commit is contained in:
Yu Watanabe 2018-01-10 15:44:13 +09:00
parent 92360836a0
commit cdb8ec2d37

View File

@ -78,9 +78,10 @@ _busctl() {
local -A OPTS=(
[STANDALONE]='-h --help --version --no-pager --no-legend --system --user
--show-machine --unique --acquired --activatable --list
--quiet --verbose --expect-reply=no --auto-start=no
--allow-interactive-authorization=yes --augment-creds=no'
[ARG]='-H --host -M --machine --address --match --timeout'
-q --quiet --verbose --expect-reply=no --auto-start=no
--allow-interactive-authorization=no --augment-creds=no
--watch-bind=yes'
[ARG]='--address -H --host -M --machine --match --timeout --size'
)
if __contains_word "--user" ${COMP_WORDS[*]}; then