Skip to content

Commit 58b55bc

Browse files
committed
when output file not specified, give a hint in html report for clarification
#303
1 parent 23253ac commit 58b55bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/htmlreporter.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,12 @@ void HtmlReporter::report(FilterResult* result, Stats* preStats1, Stats* postSta
334334
//ofs << "<div class='section_title' onclick=showOrHide('before_filtering')><a name='summary'>Before filtering</a></div>\n";
335335
//ofs << "<div id='before_filtering'>\n";
336336

337-
ofs << "<div class='section_title' onclick=showOrHide('quality_stat')><a name='summary'>Quality statistics</a></div>\n";
337+
ofs << "<div class='section_title' onclick=showOrHide('quality_stat')><a name='summary'>Filtering statistics</a>";
338+
if(mOptions->out1.empty() && ! mOptions->outputToSTDOUT) {
339+
// no output, we give a hint here for clarification
340+
ofs << "<font size=-2> (although no output file specified, the filtered statistics are still presented here) </font>" << endl;
341+
}
342+
ofs << "</div>\n";
338343
ofs << "<table id='quality_stat' class='section_table'>\n";
339344

340345
string postRead1Name = "read1";

0 commit comments

Comments
 (0)