mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
main: use pager for --dump-configuration-items (#3894)
This commit is contained in:
parent
c2d11a6302
commit
13811bf909
@ -1614,6 +1614,7 @@ int main(int argc, char *argv[]) {
|
||||
retval = version();
|
||||
goto finish;
|
||||
} else if (arg_action == ACTION_DUMP_CONFIGURATION_ITEMS) {
|
||||
pager_open(arg_no_pager, false);
|
||||
unit_dump_config_items(stdout);
|
||||
retval = EXIT_SUCCESS;
|
||||
goto finish;
|
||||
|
Loading…
Reference in New Issue
Block a user