Changeset 11574 for trunk/FACT++/src/fscctrl.cc
- Timestamp:
- 07/24/11 20:43:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fscctrl.cc
r11483 r11574 613 613 po::options_description config("Program options"); 614 614 config.add_options() 615 ("dns", var<string>("localhost"), "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)") 615 ("dns", var<string>("localhost"), "Dim nameserver (overwites DIM_DNS_NODE environment variable)") 616 ("host", var<string>(""), "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)") 616 617 ("log,l", var<string>(n), "Write log-file") 617 618 ("no-dim,d", po_bool(), "Disable dim services") … … 628 629 ; 629 630 630 conf.AddEnv("dns", "DIM_DNS_NODE"); 631 conf.AddEnv("dns", "DIM_DNS_NODE"); 632 conf.AddEnv("host", "DIM_HOST_NODE"); 631 633 632 634 conf.AddOptions(config); … … 711 713 } 712 714 713 Dim::Setup(conf.Get<string>("dns") );715 Dim::Setup(conf.Get<string>("dns"), conf.Get<string>("host")); 714 716 715 717 //try
Note:
See TracChangeset
for help on using the changeset viewer.