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:
parent
22d5cc87e6
commit
fdba1750fc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue