man: Correct flag description of systemd-cat
authorsinus-x <14353790+sinus-x@users.noreply.github.com>
Mon, 9 Sep 2024 19:06:58 +0000 (21:06 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 11 Sep 2024 13:00:34 +0000 (15:00 +0200)
It is not true that "no string" is written to journal; the binary
name is used when run via `systemd-cat command`, or `cat` is used
when run via `command | systemd-cat`.

man/systemd-cat.xml

index 280492dea592bd7d349c66e6c22224b81a51311d..b60984b8a083873c868c360af86898a7e60aefae 100644 (file)
 
         <listitem><para>Specify a short string that is used to
         identify the logging tool. If not specified, no identification
-        string is written to the journal.</para></listitem>
+        string is set for the journal entry, and the executable name
+        (or <literal>cat</literal> if the input is read from a pipe)
+        will be used to describe the log source instead.
+        </para></listitem>
       </varlistentry>
 
       <varlistentry>