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.
This commit is contained in:
parent
c2a0283795
commit
97b9273a70
|
@ -225,6 +225,7 @@ parse_arg_list(int argc, char **argv, char ***fuse_argv, int *fuse_argc)
|
||||||
return 1;
|
return 1;
|
||||||
case 'd':
|
case 'd':
|
||||||
add_arg(fuse_argv, fuse_argc, "-d");
|
add_arg(fuse_argv, fuse_argc, "-d");
|
||||||
|
CONFIG.log_type |= debug;
|
||||||
break;
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
add_arg(fuse_argv, fuse_argc, "-f");
|
add_arg(fuse_argv, fuse_argc, "-f");
|
||||||
|
|
Loading…
Reference in New Issue