mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-30 05:50:12 +03:00
journalctl: have -f and -e imply no-value -b
Both of these take multiple seconds, best-case, to get the last few entries, but do so instantly with -b
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
9dc78edccc
commit
2dd9285bac
@ -551,10 +551,19 @@ static int parse_argv(int argc, char *argv[]) {
|
|||||||
if (arg_lines == ARG_LINES_DEFAULT)
|
if (arg_lines == ARG_LINES_DEFAULT)
|
||||||
arg_lines = 1000;
|
arg_lines = 1000;
|
||||||
|
|
||||||
|
arg_boot = true;
|
||||||
|
arg_boot_id = SD_ID128_NULL;
|
||||||
|
arg_boot_offset = 0;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'f':
|
case 'f':
|
||||||
arg_follow = true;
|
arg_follow = true;
|
||||||
|
|
||||||
|
arg_boot = true;
|
||||||
|
arg_boot_id = SD_ID128_NULL;
|
||||||
|
arg_boot_offset = 0;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'o':
|
case 'o':
|
||||||
|
Reference in New Issue
Block a user