From c86c16b12498e0bbebb73ef8eda9eaa32c9764dd Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 16 Feb 2025 15:53:49 +0000 Subject: [PATCH] cli: pakfire: Log everything to the console by default Signed-off-by: Michael Tremer --- src/cli/pakfire.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli/pakfire.c b/src/cli/pakfire.c index d60023f7..7beec9d8 100644 --- a/src/cli/pakfire.c +++ b/src/cli/pakfire.c @@ -145,6 +145,9 @@ int main(int argc, char* argv[]) { if (r) goto ERROR; + // Write logs to the console + pakfire_ctx_set_log_callback(ctx, pakfire_log_stderr, NULL); + // Make this all interactive pakfire_ctx_set_confirm_callback(ctx, cli_term_confirm, NULL); -- 2.39.5