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:
.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