diff --git a/examples/traffic-control/red-vs-fengadaptive.cc b/examples/traffic-control/red-vs-fengadaptive.cc index 95298204c..4ab0ce23f 100644 --- a/examples/traffic-control/red-vs-fengadaptive.cc +++ b/examples/traffic-control/red-vs-fengadaptive.cc @@ -55,7 +55,7 @@ int main (int argc, char *argv[]) cmd.AddValue ("queueDiscType", "Set Queue disc type to RED or FengAdaptive", queueDiscType); cmd.AddValue ("appPktSize", "Set OnOff App Packet Size", pktSize); cmd.AddValue ("appDataRate", "Set OnOff App DataRate", appDataRate); - cmd.AddValue ("modeBytes", "Set Queue disc mode to Packets or bytes ", modeBytes); + cmd.AddValue ("modeBytes", "Set Queue disc mode to Packets (false) or bytes (true)", modeBytes); cmd.AddValue ("redMinTh", "RED queue minimum threshold", minTh); cmd.AddValue ("redMaxTh", "RED queue maximum threshold", maxTh); diff --git a/examples/traffic-control/red-vs-nlred.cc b/examples/traffic-control/red-vs-nlred.cc index 066ad1bf6..fdfa929dd 100644 --- a/examples/traffic-control/red-vs-nlred.cc +++ b/examples/traffic-control/red-vs-nlred.cc @@ -57,7 +57,7 @@ int main (int argc, char *argv[]) cmd.AddValue ("queueDiscType", "Set Queue disc type to RED or NLRED", queueDiscType); cmd.AddValue ("appPktSize", "Set OnOff App Packet Size", pktSize); cmd.AddValue ("appDataRate", "Set OnOff App DataRate", appDataRate); - cmd.AddValue ("modeBytes", "Set Queue disc mode to Packets or bytes ", modeBytes); + cmd.AddValue ("modeBytes", "Set Queue disc mode to Packets (false) or bytes (true)", modeBytes); cmd.AddValue ("redMinTh", "RED queue minimum threshold", minTh); cmd.AddValue ("redMaxTh", "RED queue maximum threshold", maxTh); diff --git a/src/core/model/command-line.cc b/src/core/model/command-line.cc index d5275188d..eb2debf8e 100644 --- a/src/core/model/command-line.cc +++ b/src/core/model/command-line.cc @@ -381,14 +381,14 @@ CommandLine::PrintDoxygenUsage (void) const << "
\n"; for (auto i : m_options) { - os << "
\\c --" << i->m_name << "
\n" + os << "
\\c --" << i->m_name << "
\n" << "
" << i->m_help; if ( i->HasDefault ()) { os << " [" << i->GetDefault () << "]"; } - os << "
\n"; + os << " \n"; } os << "
\n"; } @@ -400,14 +400,14 @@ CommandLine::PrintDoxygenUsage (void) const << "
\n"; for (auto i : nonOptions) { - os << "
\\c " << i->m_name << "
\n" + os << "
\\c " << i->m_name << "
\n" << "
" << i->m_help; if ( i->HasDefault ()) { os << " [" << i->GetDefault () << "]"; } - os << "
\n"; + os << " \n"; } os << "
\n"; } diff --git a/src/traffic-control/examples/red-vs-ared.cc b/src/traffic-control/examples/red-vs-ared.cc index dadf57a39..0adc5504b 100644 --- a/src/traffic-control/examples/red-vs-ared.cc +++ b/src/traffic-control/examples/red-vs-ared.cc @@ -55,7 +55,7 @@ int main (int argc, char *argv[]) cmd.AddValue ("queueDiscType", "Set Queue disc type to RED or ARED", queueDiscType); cmd.AddValue ("appPktSize", "Set OnOff App Packet Size", pktSize); cmd.AddValue ("appDataRate", "Set OnOff App DataRate", appDataRate); - cmd.AddValue ("modeBytes", "Set Queue disc mode to Packets or bytes ", modeBytes); + cmd.AddValue ("modeBytes", "Set Queue disc mode to Packets (false) or bytes (true)", modeBytes); cmd.AddValue ("redMinTh", "RED queue minimum threshold", minTh); cmd.AddValue ("redMaxTh", "RED queue maximum threshold", maxTh);