Changeset 11021 for trunk/FACT++/src


Ignore:
Timestamp:
06/14/11 18:27:41 (13 years ago)
Author:
tbretz
Message:
Changed name from schedule-database to schedule-database-name
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/triggerschedule.cc

    r11018 r11021  
    1111    po::options_description config("Configuration");
    1212    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>("")
    1515#if BOOST_VERSION >= 104200
    1616         ->required()
     
    2020
    2121    po::positional_options_description p;
    22     p.add("schedule-database", 1); // The first positional options
     22    p.add("schedule-database-name", 1); // The first positional options
    2323
    2424    conf.AddEnv("dns", "DIM_DNS_NODE");
     
    3737        "help message about the usuage can be brought to the screen.\n"
    3838        "\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";
    4141    cout << endl;
    4242}
Note: See TracChangeset for help on using the changeset viewer.