projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d11a6
)
main: use pager for --dump-configuration-items (#3894)
author
0xAX
<0xAX@users.noreply.github.com>
Thu, 4 Aug 2016 20:52:24 +0000
(23:52 +0300)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 4 Aug 2016 20:52:24 +0000
(22:52 +0200)
src/core/main.c
patch
|
blob
|
history
diff --git
a/src/core/main.c
b/src/core/main.c
index
094bbef
..
02324d3
100644
(file)
--- 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;