diff options
Diffstat (limited to 'man/busctl.xml')
-rw-r--r-- | man/busctl.xml | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/man/busctl.xml b/man/busctl.xml index c0bbed1c87..a5e3d92cf0 100644 --- a/man/busctl.xml +++ b/man/busctl.xml @@ -1,4 +1,4 @@ -<?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*--> +<?xml version='1.0'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> @@ -144,6 +144,28 @@ </varlistentry> <varlistentry> + <term><option>--json=</option><replaceable>MODE</replaceable></term> + + <listitem> + <para>When used with the <command>call</command> or <command>get-property</command> command, shows output + formatted as JSON. Expects one of <literal>short</literal> (for the shortest possible output without any + redundant whitespace or line breaks) or <literal>pretty</literal> (for a pretty version of the same, with + indentation and line breaks). Note that transformation from D-Bus marshalling to JSON is done in a loss-less + way, which means type information is embedded into the JSON object tree.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>-j</option></term> + + <listitem> + <para>Equivalent to <option>--json=pretty</option> when invoked interactively from a terminal. Otherwise + equivalent to <option>--json=short</option>, in particular when the output is piped to some other + program.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>--expect-reply=</option><replaceable>BOOL</replaceable></term> <listitem> @@ -269,8 +291,9 @@ <listitem><para>Dump messages being exchanged. If <replaceable>SERVICE</replaceable> is specified, show messages to or from this peer, identified by its well-known or unique - name. Otherwise, show all messages on the bus. Use Ctrl-C to - terminate the dump.</para></listitem> + name. Otherwise, show all messages on the bus. Use + <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo> + to terminate the dump.</para></listitem> </varlistentry> <varlistentry> |