Changeset 11021
- Timestamp:
- 06/14/11 18:27:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/triggerschedule.cc
r11018 r11021 11 11 po::options_description config("Configuration"); 12 12 config.add_options() 13 ("dns", var<string>("localhost"), "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)")14 ("schedule-database ", var<string>()13 ("dns", var<string>("localhost"), "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)") 14 ("schedule-database-name", var<string>("") 15 15 #if BOOST_VERSION >= 104200 16 16 ->required() … … 20 20 21 21 po::positional_options_description p; 22 p.add("schedule-database ", 1); // The first positional options22 p.add("schedule-database-name", 1); // The first positional options 23 23 24 24 conf.AddEnv("dns", "DIM_DNS_NODE"); … … 37 37 "help message about the usuage can be brought to the screen.\n" 38 38 "\n" 39 "Usage: triggerschedule [-c type] [OPTIONS] <schedule-database >\n"40 " or: triggerschedule [OPTIONS] <schedule-database >\n";39 "Usage: triggerschedule [-c type] [OPTIONS] <schedule-database-name>\n" 40 " or: triggerschedule [OPTIONS] <schedule-database-name>\n"; 41 41 cout << endl; 42 42 }
Note:
See TracChangeset
for help on using the changeset viewer.