Before each file, the filename is printed as a comment.</para>
</listitem>
</varlistentry>
+
+ <varlistentry id='json'>
+ <term><option>--json=</option><replaceable>MODE</replaceable></term>
+
+ <listitem><para>Shows output formatted as JSON. Expects one of <literal>short</literal> (for the
+ shortest possible output without any redundant whitespace or line breaks), <literal>pretty</literal>
+ (for a pretty version of the same, with indentation and line breaks) or <literal>off</literal> (to turn
+ off JSON output, the default).</para></listitem>
+ </varlistentry>
</variablelist>
operation begins.</para></listitem>
</varlistentry>
- <varlistentry>
- <term><option>--json=</option><replaceable>MODE</replaceable></term>
-
- <listitem><para>Shows output formatted as JSON. Expects one of <literal>short</literal> (for the
- shortest possible output without any redundant whitespace or line breaks), <literal>pretty</literal>
- (for a pretty version of the same, with indentation and line breaks) or <literal>off</literal> (to turn
- off json output).</para></listitem>
- </varlistentry>
-
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
</variablelist>
<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="json" />
</variablelist>
</refsect1>
and graphic illustrating the changes applied.</para></listitem>
</varlistentry>
- <varlistentry>
- <term><option>--json=</option><replaceable>MODE</replaceable></term>
-
- <listitem><para>Shows output formatted as JSON. Expects one of <literal>short</literal> (for the
- shortest possible output without any redundant whitespace or line breaks), <literal>pretty</literal>
- (for a pretty version of the same, with indentation and line breaks) or <literal>off</literal> (to turn
- off json output).</para></listitem>
- </varlistentry>
-
<varlistentry>
<term><option>--definitions=</option></term>
<xi:include href="standard-options.xml" xpointer="version" />
<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="json" />
</variablelist>
</refsect1>
<filename>/opt/</filename> hierarchies, but below some specified root directory.</para></listitem>
</varlistentry>
- <varlistentry>
- <term><option>--json=</option></term>
-
- <listitem><para>Generate JSON output, instead of human readable tabular output. Takes one of
- <literal>short</literal>, <literal>pretty</literal> or <literal>off</literal> in order to control the
- output style, or explicitly disabling JSON output.</para></listitem>
- </varlistentry>
-
<varlistentry>
<term><option>--force</option></term>
<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="json" />
</variablelist>
</refsect1>