summaryrefslogtreecommitdiff
path: root/src/dopt.c
diff options
context:
space:
mode:
authorfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2008-05-23 03:18:22 +0000
committerfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2008-05-23 03:18:22 +0000
commit78002fea91b274e231ff379db9524c17cf20bea6 (patch)
tree65a37bfa8231dc2962fda3bf21a1d6c719391580 /src/dopt.c
parent3977c47103b2387c3941130e9c17100438df4336 (diff)
downloaddistcc-78002fea91b274e231ff379db9524c17cf20bea6.tar.gz
Fix a bug: --wizard is supposed to imply --log-level debug, but this
wasn't working, because the code that handles --wizard wasn't setting opt_log_level_num. Reviewers: Craig Silverstein git-svn-id: http://distcc.googlecode.com/svn/trunk@377 01de4be4-8c4a-0410-9132-4925637da917
Diffstat (limited to 'src/dopt.c')
-rw-r--r--src/dopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dopt.c b/src/dopt.c
index b9ac3ae..3d38f06 100644
--- a/src/dopt.c
+++ b/src/dopt.c
@@ -268,6 +268,7 @@ int distccd_parse_options(int argc, const char **argv)
opt_no_fork = 1;
opt_no_fifo = 1;
rs_trace_set_level(RS_LOG_DEBUG);
+ opt_log_level_num = RS_LOG_DEBUG;
break;
default: /* bad? */