diff options
author | 0xAX <0xAX@users.noreply.github.com> | 2016-10-09 00:49:33 +0300 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-08 17:49:33 -0400 |
commit | 084f5805572c2c4797b87e402c31d82fc9c0623d (patch) | |
tree | e8dac3df94d07d1da612c17dac5886e26ef58cee /src | |
parent | a60f4d0b4403ae398594f9426832e7a4ed9ca686 (diff) |
machinectl: enable pager on help (#4313)
as its output is fairly long.
Diffstat (limited to 'src')
-rw-r--r-- | src/machine/machinectl.c | 1 |
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" |