1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-06 12:58:22 +03:00

shell-completion: add --xml-interface option of busctl to the rules

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
(cherry picked from commit a5efb0cc2b92d20f885b34c26254d9a9d45e3f4a)
(cherry picked from commit bda5c892a83a34a3e895c5e541f3eec19af8f04c)
(cherry picked from commit 88f058583b0d9a683012be4be7b32d5e4238fec4)
This commit is contained in:
Masatake YAMATO 2023-04-11 11:45:44 +09:00 committed by Luca Boccassi
parent ddc80a6c47
commit cfb4a5343b
2 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@ _busctl() {
--show-machine --unique --acquired --activatable --list
-q --quiet --verbose --expect-reply=no --auto-start=no
--allow-interactive-authorization=no --augment-creds=no
--watch-bind=yes -j -l --full'
--watch-bind=yes -j -l --full --xml-interface'
[ARG]='--address -H --host -M --machine --match --timeout --size --json
--destination'
)

View File

@ -276,6 +276,7 @@ _arguments \
'--list[Do not show tree, but simple object path list]' \
{-q,--quiet}'[Do not show method call reply]'\
'--verbose[Show result values in long format]' \
'--xml-interface[Dump the XML description in introspect command]' \
'--json=[Show result values in long format]:format:_busctl_get_json' \
'-j[Show pretty json in interactive sessions, short json otherwise]' \
'--expect-reply=[Expect a method call reply]:boolean:(1 0)' \