diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-09-12 16:45:22 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-09-14 22:32:20 +0200 |
commit | eb98074b5cc45253dfa1c207f57f1dc3766687fb (patch) | |
tree | 534d031ac91447e27ad91fc6d3288a7492df86c8 /src | |
parent | export: use highlighting in --help (diff) | |
download | systemd-eb98074b5cc45253dfa1c207f57f1dc3766687fb.tar.xz systemd-eb98074b5cc45253dfa1c207f57f1dc3766687fb.zip |
bootctl: use pager in help
The output is more than one page, let's enable the pager.
Diffstat (limited to 'src')
-rw-r--r-- | src/boot/bootctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 1bc4aaf3ba..168c843d18 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(); |