From e7ba987a04b78189177987c42eb6ffed439b1c4b Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 7 Jul 2013 20:54:25 +0100 Subject: dmesg: inform user --show-delta and iso8601 time format does not mix References: http://marc.info/?l=util-linux-ng&m=137267606929951&w=2 Signed-off-by: Sami Kerola --- sys-utils/dmesg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys-utils/dmesg.c') diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index e6819308c..88713d55d 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -1364,6 +1364,9 @@ int main(int argc, char *argv[]) case DMESG_TIMEFTM_TIME: ctl.time_fmt = DMESG_TIMEFTM_TIME_DELTA; break; + case DMESG_TIMEFTM_ISO8601: + warnx(_("--show-delta is ignored when used together with iso8601 time format")); + break; default: ctl.time_fmt = DMESG_TIMEFTM_DELTA; } -- cgit v1.2.3-55-g7522