]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: --notime should not suppress --show-delta
authorSami Kerola <kerolasa@iki.fi>
Sat, 16 Apr 2016 17:35:02 +0000 (18:35 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2016 09:16:51 +0000 (11:16 +0200)
commit71c681ecae1c66339c537453ea5a1b7f307a7fe8
tree24be2bd0669425976533b766ea20daab135e0e4a
parent06aa13858b6a0f8b6f534c25c26eb594cb30dd15
dmesg: --notime should not suppress --show-delta

The --show-delta is off by default, which means it can be only on when user
has requested to see these time stamps.  The --notime option should not turn
the delta outputing off, because then option order matters and no-one wants
that.  Example of the old output:

$ dmesg --notime --show-delta | sed -n 's/ version.*//p; q'
[<    0.000000>] Linux
$ dmesg --show-delta --notime | sed -n 's/ version.*//p; q'
Linux

Addresses: https://bugs.launchpad.net/bugs/1544595
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/dmesg.c