fix(docs): Updated README and configs

Use dash instead of underscore as parameter name separator
Will break alot of configs but people like to work!
This commit is contained in:
Michael Carlberg 2016-10-12 05:19:29 +02:00
parent a891f3e53b
commit 2af0d0845d
18 changed files with 1138 additions and 260 deletions
include/modules

View file

@ -26,8 +26,8 @@ namespace modules {
// Load configuration values
m_interface = m_conf.get<string>(name(), "interface");
m_interval = chrono::duration<double>(m_conf.get<float>(name(), "interval", 1));
m_ping_nth_update = m_conf.get<int>(name(), "ping_interval", 0);
m_udspeed_minwidth = m_conf.get<int>(name(), "udspeed_minwidth", m_udspeed_minwidth);
m_ping_nth_update = m_conf.get<int>(name(), "ping-interval", 0);
m_udspeed_minwidth = m_conf.get<int>(name(), "udspeed-minwidth", m_udspeed_minwidth);
// Add formats
m_formatter->add(