From: Zbigniew Jędrzejewski-Szmek Date: Tue, 12 Sep 2023 14:45:22 +0000 (+0200) Subject: bootctl: use pager in help X-Git-Tag: v255-rc1~528^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb98074b5cc45253dfa1c207f57f1dc3766687fb;p=thirdparty%2Fsystemd.git bootctl: use pager in help The output is more than one page, let's enable the pager. --- diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 1bc4aaf3bab..168c843d187 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -132,6 +132,8 @@ static int help(int argc, char *argv[], void *userdata) { _cleanup_free_ char *link = NULL; int r; + pager_open(arg_pager_flags); + r = terminal_urlify_man("bootctl", "1", &link); if (r < 0) return log_oom();