1
0
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:
0xAX 2016-08-04 23:52:24 +03:00 committed by Lennart Poettering
parent c2d11a6302
commit 13811bf909

View File

@ -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;