summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
author0xAX <0xAX@users.noreply.github.com>2016-10-09 00:49:33 +0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-08 17:49:33 -0400
commit084f5805572c2c4797b87e402c31d82fc9c0623d (patch)
treee8dac3df94d07d1da612c17dac5886e26ef58cee /src/machine
parenta60f4d0b4403ae398594f9426832e7a4ed9ca686 (diff)
machinectl: enable pager on help (#4313)
as its output is fairly long.
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index e9de31e184..7b9be3b425 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -2629,6 +2629,7 @@ static int clean_images(int argc, char *argv[], void *userdata) {
}
static int help(int argc, char *argv[], void *userdata) {
+ pager_open(arg_no_pager, false);
printf("%s [OPTIONS...] {COMMAND} ...\n\n"
"Send control commands to or query the virtual machine and container\n"