diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-21 22:23:45 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-23 22:58:29 +0200 |
commit | d5c8d8233c2efbbd1e600d1a683ea04cd36cbac8 (patch) | |
tree | 28b79b7987ca44b61d962872801891d4fb3c22a5 /man/busctl.xml | |
parent | d603324b4b28cfdced6677fa8eb70f0a95b4af4a (diff) | |
download | systemd-d5c8d8233c2efbbd1e600d1a683ea04cd36cbac8.tar.gz |
busctl: add introspect --xml-interface
This wraps the call to org.freedesktop.DBus.Introspectable.Introspect.
Using "busctl call" directly is inconvenient because busctl escapes the
string before printing.
Example:
$ busctl introspect --xml org.freedesktop.systemd1 /org/freedesktop/systemd1 | pygmentize -lxml | less -RF
Diffstat (limited to 'man/busctl.xml')
-rw-r--r-- | man/busctl.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/busctl.xml b/man/busctl.xml index e4c7fcb283..328c101622 100644 --- a/man/busctl.xml +++ b/man/busctl.xml @@ -141,6 +141,16 @@ </varlistentry> <varlistentry> + <term><option>--xml-interface</option></term> + + <listitem> + <para>When used with the <command>introspect</command> call, dump the XML description received from + the D-Bus <constant>org.freedesktop.DBus.Introspectable.Introspect</constant> call instead of the + normal output.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>--json=</option><replaceable>MODE</replaceable></term> <listitem> |