Changeset 15109 for trunk


Ignore:
Timestamp:
03/18/13 16:42:04 (12 years ago)
Author:
tbretz
Message:
Removed default from 'host'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Main.h

    r15017 r15109  
    2929        config.add_options()
    3030            ("dns",        var<string>("localhost"),       "Dim nameserver (overwites DIM_DNS_NODE environment variable)")
    31             ("host",       var<string>(""),                "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)")
     31            ("host",       var<string>(),                  "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)")
    3232            ("log,l",      var<string>(n), "Name of local log-file")
    3333            ("append-log", po_bool(),      "Append log information to local log-file")
     
    8383    int execute(Configuration &conf, bool dummy=false)
    8484    {
    85         Dim::Setup(conf.Get<string>("dns"), conf.Get<string>("host"));
     85        Dim::Setup(conf.Get<string>("dns"), conf.Has("host")?conf.Get<string>("host"):"");
    8686
    8787        // -----------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.