Changeset 11576
- Timestamp:
- 07/24/11 21:11:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/fact.cc
r11366 r11576 35 35 po::options_description config("Program options"); 36 36 config.add_options() 37 ("dns", var<string>("localhost"), "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)") 37 ("dns", var<string>("localhost"), "Dim nameserver (overwites DIM_DNS_NODE environment variable)") 38 ("host", var<string>(""), "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)") 38 39 ; 39 40 40 41 conf.AddEnv("dns", "DIM_DNS_NODE"); 42 conf.AddEnv("dns", "DIM_HOST_NODE"); 41 43 42 44 conf.AddOptions(config); … … 76 78 } 77 79 78 Dim::Setup(conf.Get<string>("dns") );80 Dim::Setup(conf.Get<string>("dns"), conf.Get<string>("host")); 79 81 80 82 QApplication app(argc, const_cast<char**>(argv));
Note:
See TracChangeset
for help on using the changeset viewer.