summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
author0xAX <0xAX@users.noreply.github.com>2016-08-04 23:52:24 +0300
committerLennart Poettering <lennart@poettering.net>2016-08-04 22:52:24 +0200
commit13811bf909d99b24411d3d5fbea790c9f81d08b7 (patch)
tree4c8c5c96da17c400941936ed1437c40dbf4df6b4 /src/core/main.c
parentc2d11a630287631d3b401a5cf300ea3655e21fd1 (diff)
main: use pager for --dump-configuration-items (#3894)
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 094bbef964..02324d325e 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -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;