mirror of
https://github.com/systemd/systemd.git
synced 2025-03-23 10:50:16 +03:00
journalctl: open pager for --dump-catalog and --list-catalog
This commit is contained in:
parent
7e3ce75d34
commit
dd598123a9
@ -1879,6 +1879,7 @@ int main(int argc, char *argv[]) {
|
||||
} else {
|
||||
bool oneline = arg_action == ACTION_LIST_CATALOG;
|
||||
|
||||
pager_open_if_enabled();
|
||||
if (optind < argc)
|
||||
r = catalog_list_items(stdout, database,
|
||||
oneline, argv + optind);
|
||||
|
Loading…
x
Reference in New Issue
Block a user