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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-05-30 16:04:13 +02:00
parent 78435d620c
commit 5fdec39796
+2
View File
@@ -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();