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>
This commit is contained in:
Sami Kerola 2016-04-16 18:35:02 +01:00
parent 22d5cc87e6
commit fdba1750fc
No known key found for this signature in database
GPG Key ID: A9553245FDE9B739
1 changed files with 0 additions and 1 deletions

View File

@ -1363,7 +1363,6 @@ int main(int argc, char *argv[])
break;
case 't':
ctl.time_fmt = DMESG_TIMEFTM_NONE;
delta = 0;
break;
case 'u':
ctl.fltr_fac = 1;