Changeset 10647 for trunk/FACT++/src/ftmctrl.cc
- Timestamp:
- 05/10/11 14:10:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r10637 r10647 10 10 #include <boost/asio/deadline_timer.hpp> 11 11 12 #include "Dim.h" 12 13 #include "Event.h" 13 14 #include "Shell.h" … … 1546 1547 SetEndpoint(conf.Get<string>("addr")); 1547 1548 1548 fFTM.SetVerbose( conf.Get<bool>("verbose"));1549 fFTM.SetVerbose(!conf.Get<bool>("quiet")); 1549 1550 fFTM.SetHexOutput(conf.Get<bool>("hex-out")); 1550 1551 fFTM.SetDynamicOut(conf.Get<bool>("dynamic-out")); … … 1655 1656 control.add_options() 1656 1657 ("addr,a", var<string>("localhost:5000"), "Network address of FTM") 1657 (" verbose,v", po_switch(), "Enable printing contents of all received messages (except dynamic data) in clear text.")1658 ("hex-out", po_switch(), 1659 ("dynamic-out", po_switch(), 1658 ("quiet,q", po_switch(), "Disable printing contents of all received messages (except dynamic data) in clear text.") 1659 ("hex-out", po_switch(), "Enable printing contents of all printed messages also as hex data.") 1660 ("dynamic-out", po_switch(), "Enable printing received dynamic data.") 1660 1661 ; 1661 1662 … … 1814 1815 } 1815 1816 1816 // To allow overwriting of DIM_DNS_NODE set 0 to 1 1817 setenv("DIM_DNS_NODE", conf.Get<string>("dns").c_str(), 1); 1818 //setenv("DIM_HOST_NODE", GetLocalIp().c_str(), 1); 1817 Dim::Setup(conf.Get<string>("dns")); 1819 1818 1820 1819 //try
Note:
See TracChangeset
for help on using the changeset viewer.