From 5fdec39796f4defce1863b8c3c7c277ecbf42c49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 23 May 2023 21:26:57 +0200 Subject: [PATCH] dissect: use pager for --help This output is already too long to fit on an normal terminal, and the interesting parts are towards the top. --- src/dissect/dissect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c index 2d33a967ca8..45e0abc63d8 100644 --- a/src/dissect/dissect.c +++ b/src/dissect/dissect.c @@ -96,6 +96,8 @@ static int help(void) { _cleanup_free_ char *link = NULL; int r; + pager_open(arg_pager_flags); + r = terminal_urlify_man("systemd-dissect", "1", &link); if (r < 0) return log_oom(); -- 2.47.3