summaryrefslogtreecommitdiffstats
path: root/misc-utils/logger.1
diff options
context:
space:
mode:
authorKarel Zak2016-03-10 14:33:45 +0100
committerKarel Zak2016-03-10 14:36:22 +0100
commit9904521903b36595981b6de14567d64dba9c3b46 (patch)
treea19a6939bf3acefea06dc1245abc4f72d830f5c8 /misc-utils/logger.1
parentmisc: remove duplicate includes (diff)
downloadkernel-qcow2-util-linux-9904521903b36595981b6de14567d64dba9c3b46.tar.gz
kernel-qcow2-util-linux-9904521903b36595981b6de14567d64dba9c3b46.tar.xz
kernel-qcow2-util-linux-9904521903b36595981b6de14567d64dba9c3b46.zip
logger: keep man page consistent and use \- everywhere
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/logger.1')
-rw-r--r--misc-utils/logger.116
1 files changed, 8 insertions, 8 deletions
diff --git a/misc-utils/logger.1 b/misc-utils/logger.1
index d2b3b251b..0417b936b 100644
--- a/misc-utils/logger.1
+++ b/misc-utils/logger.1
@@ -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