From c39b8978f62cbf5b693aafb5735b838b6af7b1fe Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Tue, 11 Apr 2023 11:29:30 +0900 Subject: [PATCH 1/2] busctl: add --xml-interface to the help message Signed-off-by: Masatake YAMATO --- src/busctl/busctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c index 37ba05680f..90f20c05a1 100644 --- a/src/busctl/busctl.c +++ b/src/busctl/busctl.c @@ -2307,6 +2307,7 @@ static int help(void) { " --verbose Show result values in long format\n" " --json=MODE Output as JSON\n" " -j Same as --json=pretty on tty, --json=short otherwise\n" + " --xml-interface Dump the XML description in introspect command\n" " --expect-reply=BOOL Expect a method call reply\n" " --auto-start=BOOL Auto-start destination service\n" " --allow-interactive-authorization=BOOL\n" From a5efb0cc2b92d20f885b34c26254d9a9d45e3f4a Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Tue, 11 Apr 2023 11:45:44 +0900 Subject: [PATCH 2/2] shell-completion: add --xml-interface option of busctl to the rules Signed-off-by: Masatake YAMATO --- shell-completion/bash/busctl | 2 +- shell-completion/zsh/_busctl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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)' \