mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
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:
parent
78435d620c
commit
5fdec39796
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user