Ignore:
Timestamp:
Jan 9, 2010, 3:16:03 PM (14 years ago)
Author:
Peter Johansson
Message:

closes #438. adding an option --format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.cc

    r978 r1015  
    6363                    std::string("ignore cache files and analyze ") +
    6464                    std::string("everything from repository")),
     65      format_(cmd_,"format", "override image format defined in config file"),
    6566      report_(cmd_, "report", "create no HTML report", true),
    6667      revisions_(cmd_, "revisions",
     
    219220
    220221
     222  const yat::utility::OptionArg<std::string>&
     223  Parameter::format(void) const
     224  {
     225    return format_;
     226  }
     227
     228
    221229  void Parameter::init(void)
    222230  {
     
    224232    cmd_.program_name() = PACKAGE_NAME;
    225233    config_file_.print_arg("=FILE");
     234    format_.print_arg("=FMT");
    226235    root_.print_arg("=ROOT");
    227236    target_.print_arg("=TARGET");
Note: See TracChangeset for help on using the changeset viewer.