]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: "-j", not "-J" is the shortcut for JSON mode in homectl
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Nov 2021 10:21:55 +0000 (11:21 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Nov 2021 11:09:46 +0000 (12:09 +0100)
The code and --help text got this right, hence fix the man page

man/homectl.xml

index 0bf4803d9a71209ebb742b45566fc95eebaa75b3..5ba93bbe1363228eaa01d3a360aa52b203ed566a 100644 (file)
 
       <varlistentry>
         <term><option>--json=</option><replaceable>FORMAT</replaceable></term>
-        <term><option>-J</option></term>
+        <term><option>-j</option></term>
 
         <listitem><para>Controls whether to output the user record in JSON format, if the
         <command>inspect</command> command (see below) is used. Takes one of <literal>pretty</literal>,
         whitespace and newlines are inserted in the output to make the JSON data more readable. If
         <literal>short</literal> all superfluous whitespace is suppressed. If <literal>off</literal> (the
         default) the user information is not shown in JSON format but in a friendly human readable formatting
-        instead. The <option>-J</option> option picks <literal>pretty</literal> when run interactively and
+        instead. The <option>-j</option> option picks <literal>pretty</literal> when run interactively and
         <literal>short</literal> otherwise.</para></listitem>
       </varlistentry>