</listitem>
</varlistentry>
- <varlistentry>
- <term><option>--json=<replaceable>MODE</replaceable></option></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>
-
- <xi:include href="version-info.xml" xpointer="v240"/>
- </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>
-
- <xi:include href="version-info.xml" xpointer="v240"/>
- </listitem>
- </varlistentry>
-
<varlistentry>
<term><option>--expect-reply=<replaceable>BOOL</replaceable></option></term>
</listitem>
</varlistentry>
+ <xi:include href="standard-options.xml" xpointer="json" />
+ <xi:include href="standard-options.xml" xpointer="j" />
<xi:include href="standard-options.xml" xpointer="no-pager" />
<xi:include href="standard-options.xml" xpointer="no-legend" />
<xi:include href="standard-options.xml" xpointer="help" />