]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
busctl: show --help in pager
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Jan 2021 16:59:01 +0000 (17:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jan 2021 17:14:37 +0000 (18:14 +0100)
We do this for other larger --help texts, do so here too.

src/busctl/busctl.c

index 15e855062fdb9f9d9be2ddd4f75b2a86205b41b4..8a31916ad793f4392a34538cfd527276ba83d50b 100644 (file)
@@ -2246,6 +2246,8 @@ static int help(void) {
         if (r < 0)
                 return log_oom();
 
+        (void) pager_open(arg_pager_flags);
+
         printf("%s [OPTIONS...] COMMAND ...\n\n"
                "%sIntrospect the D-Bus IPC bus.%s\n"
                "\nCommands:\n"