Subversion Repositories HomeAutomation

Rev

Rev 1646 | Rev 1652 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1646 Rev 1647
Line 49... Line 49...
49
    ("ProtocolFile",boost::program_options::value<std::string>(),              "File to read the protocol form")
49
    ("ProtocolFile",boost::program_options::value<std::string>(),              "File to read the protocol form")
50
    ("CanNet",      boost::program_options::value<common::StringList>(),       "Information on where to locate the CAN networks")
50
    ("CanNet",      boost::program_options::value<common::StringList>(),       "Information on where to locate the CAN networks")
51
    ("Legacy",                                                                 "Start legacy VM environment");
51
    ("Legacy",                                                                 "Start legacy VM environment");
52
 
52
 
53
    this->command_line_.add_options()
53
    this->command_line_.add_options()
54
    ("version,v", "print version string")
-
 
55
    ("help,h",    "produce help message")
54
    ("help,h",    "produce help message")
56
    ("daemon,d",  "start in daemon mode")
55
    ("daemon,d",  "start in daemon mode")
57
    ("file,f",    boost::program_options::value<std::string>()->default_value(default_config_file), "configuration file");
56
    ("file,f",    boost::program_options::value<std::string>()->default_value(default_config_file), "configuration file");
58
   
57
   
59
    this->command_line_.add(this->configuration_file_);
58
    this->command_line_.add(this->configuration_file_);