summaryrefslogtreecommitdiff
path: root/man/systemd-dissect.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-08-11 23:16:44 +0200
committerLennart Poettering <lennart@poettering.net>2020-08-12 22:39:43 +0200
commitde8231b0072807d98351e5ef2d633e470a43b0f2 (patch)
treec1d36d425f2708359d8d72603d4d3c19c25efa35 /man/systemd-dissect.xml
parent0b9481cf2ec328015b535af79b80f61f14255dfc (diff)
downloadsystemd-de8231b0072807d98351e5ef2d633e470a43b0f2.tar.gz
dissect: add support for outputting JSON
Diffstat (limited to 'man/systemd-dissect.xml')
-rw-r--r--man/systemd-dissect.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/systemd-dissect.xml b/man/systemd-dissect.xml
index 181b6568d0..fd70e1bfc1 100644
--- a/man/systemd-dissect.xml
+++ b/man/systemd-dissect.xml
@@ -153,6 +153,15 @@
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>