summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorMasatake YAMATO <yamato@redhat.com>2023-04-11 11:45:44 +0900
committerMasatake YAMATO <yamato@redhat.com>2023-04-11 11:47:56 +0900
commita5efb0cc2b92d20f885b34c26254d9a9d45e3f4a (patch)
tree779379ba740989c47f03359324e4eeb7c6ed4932 /shell-completion
parentc39b8978f62cbf5b693aafb5735b838b6af7b1fe (diff)
downloadsystemd-a5efb0cc2b92d20f885b34c26254d9a9d45e3f4a.tar.gz
shell-completion: add --xml-interface option of busctl to the rules
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/busctl2
-rw-r--r--shell-completion/zsh/_busctl1
2 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index ee160a7900..5464225b15 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -86,7 +86,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'
)
diff --git a/shell-completion/zsh/_busctl b/shell-completion/zsh/_busctl
index 0cb1c44a43..b0cd4d5db5 100644
--- a/shell-completion/zsh/_busctl
+++ b/shell-completion/zsh/_busctl
@@ -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)' \