From 3beccd2c2d610f1407b4d53d4d1ce63ede4062d6 Mon Sep 17 00:00:00 2001 From: Jonathan Kamens Date: Sun, 3 Sep 2023 16:00:38 -0400 Subject: [PATCH] Enabling debugging on command line should enable debug logging I believe an appropriate expectation is that if the user enables debugging with a command-line flag, then that should also enable messagse designated as debug messages in the code to be printed. --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index d4827b0..b3848f5 100644 --- a/src/main.c +++ b/src/main.c @@ -225,6 +225,7 @@ parse_arg_list(int argc, char **argv, char ***fuse_argv, int *fuse_argc) return 1; case 'd': add_arg(fuse_argv, fuse_argc, "-d"); + CONFIG.log_type |= debug; break; case 'f': add_arg(fuse_argv, fuse_argc, "-f");