diff options
-rw-r--r-- | sys-utils/dmesg.1 | 6 | ||||
-rw-r--r-- | sys-utils/dmesg.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1 index d8209aceb..b3eb281f5 100644 --- a/sys-utils/dmesg.1 +++ b/sys-utils/dmesg.1 @@ -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 diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index 54612f5b1..fae6f8754 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -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" |