man: systemctl: clarify that --lines=0 is allowed (#10375)

The term “positive” is often read to exclude 0 (though “strictly
positive” is sometimes used to clarify this), so let’s explicitly state
that --lines=0 is legal and completely disables journal output.

Motivated by an answer on StackExchange [1].

[1]: https://unix.stackexchange.com/a/475068/44049
This commit is contained in:
Lucas Werkmeister 2018-10-13 10:31:40 +02:00 committed by Yu Watanabe
parent 8837715ef2
commit d5bf4f9b8f
1 changed files with 2 additions and 3 deletions

View File

@ -590,9 +590,8 @@
<term><option>--lines=</option></term>
<listitem>
<para>When used with <command>status</command>, controls the
number of journal lines to show, counting from the most
recent ones. Takes a positive integer argument. Defaults to
<para>When used with <command>status</command>, controls the number of journal lines to show, counting from
the most recent ones. Takes a positive integer argument, or 0 to disable journal output. Defaults to
10.</para>
</listitem>
</varlistentry>