This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 339 - The 'debug' option should imply 'verbose'
Summary: The 'debug' option should imply 'verbose'
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.5b1
Hardware: All All
: P2 minor
Target Milestone: ---
Assignee: Terje Bless
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-15 08:07 UTC by Fr
Modified: 2004-05-16 09:46 UTC (History)
0 users

See Also:


Attachments

Description Fr 2003-09-15 08:07:59 UTC
There is not real point in turning on the debugging option if nothing is
displayed -- something like the patch below would correct that.

Also,

--- check.old   2003-08-31 22:43:43.000000000 +1000
+++ check       2003-09-15 21:56:03.000000000 +1000
@@ -304,6 +304,8 @@
   # regardless of whether it's "0" or "1" (on or off).
   $DEBUG = $q->param('debug') if defined $q->param('debug');
 
+  $File->{Opt}->{'Verbose'} = TRUE if ($DEBUG);
+
   &abort_if_error_flagged($File, O_NONE); # Too early to &print_table.
 
   #
Comment 1 Fr 2003-09-15 08:09:06 UTC
Forget the "Also,", there is nothing else :-)
Comment 2 Terje Bless 2004-05-16 05:46:48 UTC
Applied. Thanks.