]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
dmesg: highlight -T issues in docs
authorKarel Zak <kzak@redhat.com>
Tue, 25 Aug 2015 13:43:03 +0000 (15:43 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Aug 2015 13:43:03 +0000 (15:43 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/dmesg.1
sys-utils/dmesg.c

index d8209aceb3797a684b4c48a110e7a772faf1dbad..b3eb281f5b77f3a8aac24bf6a552ebe0902503b8 100644 (file)
@@ -45,7 +45,9 @@ then only the time delta without the timestamp is printed.
 .IP "\fB\-E\fR, \fB\-\-console\-on\fR"
 Enable printing messages to the console.
 .IP "\fB\-e\fR, \fB\-\-reltime\fR"
-Display the local time and the delta in human-readable format.
+Display the local time and the delta in human-readable format. Be aware that
+conversion to the local time could be inaccurate (see \fB\-T\fR) for more
+details.
 .IP "\fB\-F\fR, \fB\-\-file \fIfile\fR"
 Read the messages from the given
 .IR file .
@@ -142,7 +144,7 @@ then this option can be used to view the entire buffer.
 .IP "\fB\-T\fR, \fB\-\-ctime\fR"
 Print human-readable timestamps.
 .IP
-Be aware that the timestamp could be inaccurate!
+.B Be aware that the timestamp could be inaccurate!
 The
 .B time
 source used for the logs is
index 54612f5b1781c5dad6b3a61e92a983e06a914fab..fae6f8754c1e487ee439c6afd930baaf3bb106dd 100644 (file)
@@ -289,7 +289,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
        fputs(_(" -x, --decode                decode facility and level to readable string\n"), out);
        fputs(_(" -d, --show-delta            show time delta between printed messages\n"), out);
        fputs(_(" -e, --reltime               show local time and time delta in readable format\n"), out);
-       fputs(_(" -T, --ctime                 show human readable timestamp\n"), out);
+       fputs(_(" -T, --ctime                 show human readable timestamp (may be inaccurate!)\n"), out);
        fputs(_(" -t, --notime                don't print messages timestamp\n"), out);
        fputs(_("     --time-format <format>  show time stamp using format:\n"
                "                               [delta|reltime|ctime|notime|iso]\n"