Changeset 1102 for trunk


Ignore:
Timestamp:
Jun 15, 2010, 4:27:21 AM (11 years ago)
Author:
Peter Johansson
Message:

refs #448. adding notice in verbose mode that config file is read.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/svncopyright.cc

    r1086 r1102  
    5252
    5353  try {
    54     load_config(option.config_file());
     54    load_config(option.config_file(), option.verbose());
    5555    if (option.generate_config()) {
    5656      std::cout << Configuration::instance();
  • trunk/bin/svndigest.cc

    r1090 r1102  
    8080
    8181  try {
    82     load_config(option.config_file());
     82    load_config(option.config_file(), option.verbose());
    8383    copy_option2config(option, Configuration::instance());
    8484    if (option.generate_config()) {
  • trunk/lib/main_utility.cc

    r1086 r1102  
    3636namespace svndigest {
    3737
    38   void load_config(const std::string& file)
     38  void load_config(const std::string& file, bool verbose)
    3939  {
    4040    // Reading configuration file
     
    4343      std::ifstream is(file.c_str());
    4444      assert(is.good());
     45      if (verbose)
     46        std::cout << "Reading configuration file: `" << file << "'\n";
    4547      try {
    4648        config.load(is);
  • trunk/lib/main_utility.h

    r1086 r1102  
    4141     \trow if something is wrong
    4242   */
    43   void load_config(const std::string& file);
     43  void load_config(const std::string& file, bool verbose);
    4444
    4545  /**
Note: See TracChangeset for help on using the changeset viewer.