]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
logger: keep man page consistent and use \- everywhere
authorKarel Zak <kzak@redhat.com>
Thu, 10 Mar 2016 13:33:45 +0000 (14:33 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 10 Mar 2016 13:36:22 +0000 (14:36 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/logger.1

index d2b3b251ba69e1de010f401d651e8c2e57dd2c90..0417b936b447fbd9c0bda5b476d7705e37a325e8 100644 (file)
@@ -89,14 +89,14 @@ for details.  The use of a MESSAGE_ID field is generally a good idea, as it
 makes finding entries easy.  Examples:
 .IP
 .nf
-\fB    logger --journald <<end
+\fB    logger \-\-journald <<end
 \fB    MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309
 \fB    MESSAGE=The dogs bark, but the caravan goes on.
 \fB    DOGS=bark
 \fB    CARAVAN=goes on
 \fB    end
 .IP
-\fB    logger --journald=entry.txt
+\fB    logger \-\-journald=entry.txt
 .fi
 .IP
 Notice that
@@ -106,7 +106,7 @@ needed it must be within input, and use PRIORITY field.  The simple
 execution of
 .B journalctl
 will display MESSAGE field.  Use
-.B journalctl --output json-pretty
+.B journalctl \-\-output json-pretty
 to see rest of the fields.
 .TP
 .BR \-\-msgid " \fImsgid
@@ -209,11 +209,11 @@ than once for the same element.  Note that the quotation marks around
 \fIvalue\fR are required and must be escaped on the command line.
 .IP
 .nf
-\fB    logger --rfc5424 --sd-id zoo@123                \\
-\fB                     --sd-param tiger=\\"hungry\\"    \\
-\fB                     --sd-param zebra=\\"running\\"   \\
-\fB                     --sd-id manager@123            \\
-\fB                     --sd-param onMeeting=\\"yes\\"   \\
+\fB    logger \-\-rfc5424 \-\-sd-id zoo@123               \\
+\fB                     \-\-sd-param tiger=\\"hungry\\"   \\
+\fB                     \-\-sd-param zebra=\\"running\\"  \\
+\fB                     \-\-sd-id manager@123           \\
+\fB                     \-\-sd-param onMeeting=\\"yes\\"  \\
 \fB                     "this is message"
 .fi
 .IP