summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-08 18:05:32 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-08 21:42:53 +0100
commit43f4b5101cdb11e2c0555b5908a2823dbd279f03 (patch)
treef8d5ad8b8f91f535aac278ca1f54ff85af8ef4e5
parent9897989ef3a0a1df66b588997d03267f5785adc8 (diff)
downloadsystemd-43f4b5101cdb11e2c0555b5908a2823dbd279f03.tar.gz
man: document new --json= mode
-rw-r--r--man/userdbctl.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/userdbctl.xml b/man/userdbctl.xml
index 3c26ce3024..522c6c665f 100644
--- a/man/userdbctl.xml
+++ b/man/userdbctl.xml
@@ -72,6 +72,16 @@
</varlistentry>
<varlistentry>
+ <term><option>--json=</option><replaceable>FORMAT</replaceable></term>
+
+ <listitem><para>Selects JSON out mode (like <option>--output=json</option>) and selects the precise
+ display mode. Takes one of <literal>pretty</literal> or <literal>short</literal>. If
+ <literal>pretty</literal> human-friendly whitespace and newlines are inserted in the output to make
+ the JSON data more readable. If <literal>short</literal> all superfluous whitespace is
+ suppressed.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--service=</option><replaceable>SERVICE</replaceable><optional>:<replaceable>SERVICEā€¦</replaceable></optional></term>
<term><option>-s</option> <replaceable>SERVICE</replaceable>:<replaceable>SERVICEā€¦</replaceable></term>