mirror of
https://github.com/systemd/systemd.git
synced 2025-01-07 17:14:09 +08:00
bash-completion: busctl: support more options and verbs
This commit is contained in:
parent
92360836a0
commit
cdb8ec2d37
@ -78,9 +78,10 @@ _busctl() {
|
|||||||
local -A OPTS=(
|
local -A OPTS=(
|
||||||
[STANDALONE]='-h --help --version --no-pager --no-legend --system --user
|
[STANDALONE]='-h --help --version --no-pager --no-legend --system --user
|
||||||
--show-machine --unique --acquired --activatable --list
|
--show-machine --unique --acquired --activatable --list
|
||||||
--quiet --verbose --expect-reply=no --auto-start=no
|
-q --quiet --verbose --expect-reply=no --auto-start=no
|
||||||
--allow-interactive-authorization=yes --augment-creds=no'
|
--allow-interactive-authorization=no --augment-creds=no
|
||||||
[ARG]='-H --host -M --machine --address --match --timeout'
|
--watch-bind=yes'
|
||||||
|
[ARG]='--address -H --host -M --machine --match --timeout --size'
|
||||||
)
|
)
|
||||||
|
|
||||||
if __contains_word "--user" ${COMP_WORDS[*]}; then
|
if __contains_word "--user" ${COMP_WORDS[*]}; then
|
||||||
|
Loading…
Reference in New Issue
Block a user