Changeset 1136 for trunk/lib/Configuration.cc
- Timestamp:
- Jul 18, 2010, 9:18:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Configuration.cc
r1135 r1136 197 197 else if (equal_true(rhs)) 198 198 output_blame_information_ = true; 199 else { 200 throw Config_error(line, ""); 201 } 202 } 203 else if (lhs=="file") { 204 if (equal_false(rhs)) 205 output_file_ = false; 206 else if (equal_true(rhs)) 207 output_file_ = true; 199 208 else { 200 209 throw Config_error(line, ""); … … 496 505 image_anchor_format_ = "png"; 497 506 output_blame_information_ = true; 507 output_file_ = true; 498 508 } 499 509 … … 502 512 { 503 513 return output_blame_information_; 514 } 515 516 517 bool Configuration::output_file(void) const 518 { 519 return output_file_; 504 520 } 505 521 … … 536 552 << "blame-information = "; 537 553 if (conf.output_blame_information()) 554 os << "yes\n"; 555 else 556 os << "no\n"; 557 os << "# if true report will have pages for files and not only " 558 << "directories.\n" 559 << "file = "; 560 if (conf.output_file()) 538 561 os << "yes\n"; 539 562 else
Note: See TracChangeset
for help on using the changeset viewer.