Changeset 15109
- Timestamp:
- 03/18/13 16:42:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Main.h
r15017 r15109 29 29 config.add_options() 30 30 ("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)") 32 32 ("log,l", var<string>(n), "Name of local log-file") 33 33 ("append-log", po_bool(), "Append log information to local log-file") … … 83 83 int execute(Configuration &conf, bool dummy=false) 84 84 { 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"):""); 86 86 87 87 // -----------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.