logger: keep man page consistent and use \- everywhere

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2016-03-10 14:33:45 +01:00
parent 8e2e9144ef
commit 9904521903
1 changed files with 8 additions and 8 deletions

View 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: makes finding entries easy. Examples:
.IP .IP
.nf .nf
\fB logger --journald <<end \fB logger \-\-journald <<end
\fB MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309 \fB MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309
\fB MESSAGE=The dogs bark, but the caravan goes on. \fB MESSAGE=The dogs bark, but the caravan goes on.
\fB DOGS=bark \fB DOGS=bark
\fB CARAVAN=goes on \fB CARAVAN=goes on
\fB end \fB end
.IP .IP
\fB logger --journald=entry.txt \fB logger \-\-journald=entry.txt
.fi .fi
.IP .IP
Notice that Notice that
@ -106,7 +106,7 @@ needed it must be within input, and use PRIORITY field. The simple
execution of execution of
.B journalctl .B journalctl
will display MESSAGE field. Use will display MESSAGE field. Use
.B journalctl --output json-pretty .B journalctl \-\-output json-pretty
to see rest of the fields. to see rest of the fields.
.TP .TP
.BR \-\-msgid " \fImsgid .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. \fIvalue\fR are required and must be escaped on the command line.
.IP .IP
.nf .nf
\fB logger --rfc5424 --sd-id zoo@123 \\ \fB logger \-\-rfc5424 \-\-sd-id zoo@123 \\
\fB --sd-param tiger=\\"hungry\\" \\ \fB \-\-sd-param tiger=\\"hungry\\" \\
\fB --sd-param zebra=\\"running\\" \\ \fB \-\-sd-param zebra=\\"running\\" \\
\fB --sd-id manager@123 \\ \fB \-\-sd-id manager@123 \\
\fB --sd-param onMeeting=\\"yes\\" \\ \fB \-\-sd-param onMeeting=\\"yes\\" \\
\fB "this is message" \fB "this is message"
.fi .fi
.IP .IP