]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze-dlopen-metadata: honor --no-legend and --no-pager
authorMike Yuan <me@yhndnzj.com>
Wed, 26 Nov 2025 13:58:32 +0000 (14:58 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Nov 2025 15:17:08 +0000 (16:17 +0100)
src/analyze/analyze-dlopen-metadata.c

index 618c104d175d08444c8450a181c32aa0831f38d7..2d440055fa23a18af898c58d9bdc8d992a5f14e6 100644 (file)
@@ -64,7 +64,7 @@ int verb_dlopen_metadata(int argc, char *argv[], void *userdata) {
                         return table_log_add_error(r);
         }
 
-        r = table_print(t, NULL);
+        r = table_print_with_pager(t, SD_JSON_FORMAT_OFF, arg_pager_flags, arg_legend);
         if (r < 0)
                 return table_log_print_error(r);