From: 0xAX <0xAX@users.noreply.github.com> Date: Sat, 8 Oct 2016 21:49:33 +0000 (+0300) Subject: machinectl: enable pager on help (#4313) X-Git-Tag: v232~134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=084f5805572c2c4797b87e402c31d82fc9c0623d;p=thirdparty%2Fsystemd.git machinectl: enable pager on help (#4313) as its output is fairly long. --- diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index e9de31e1845..7b9be3b4258 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"