help fix for cmd line

This commit is contained in:
maliakal_d 2020-09-10 17:04:08 +02:00
parent be8284f5c2
commit a4926e6ae1

View File

@ -670,7 +670,7 @@ std::string CmdProxy::ClockFrequency(int action) {
std::ostringstream os; std::ostringstream os;
os << cmd << ' '; os << cmd << ' ';
if (action == defs::HELP_ACTION) { if (action == defs::HELP_ACTION) {
os << "[n_clock (0-8)] [freq_in_Hz]\n\t[Gotthard2][Mythen3] Frequency " os << "[n_clock (0-5)] [freq_in_Hz]\n\t[Gotthard2][Mythen3] Frequency "
"of clock n_clock in Hz. Use clkdiv to set frequency." "of clock n_clock in Hz. Use clkdiv to set frequency."
<< '\n'; << '\n';
} else { } else {
@ -703,7 +703,7 @@ std::string CmdProxy::ClockPhase(int action) {
std::ostringstream os; std::ostringstream os;
os << cmd << ' '; os << cmd << ' ';
if (action == defs::HELP_ACTION) { if (action == defs::HELP_ACTION) {
os << "[n_clock (0-8)] [phase] [deg " os << "[n_clock (0-5)] [phase] [deg "
"(optional)]\n\t[Gotthard2][Mythen3] Phase of clock n_clock. If " "(optional)]\n\t[Gotthard2][Mythen3] Phase of clock n_clock. If "
"deg, then phase shift in degrees, else absolute phase shift " "deg, then phase shift in degrees, else absolute phase shift "
"values." "values."
@ -756,7 +756,7 @@ std::string CmdProxy::MaxClockPhaseShift(int action) {
std::ostringstream os; std::ostringstream os;
os << cmd << ' '; os << cmd << ' ';
if (action == defs::HELP_ACTION) { if (action == defs::HELP_ACTION) {
os << "[n_clock (0-8)]\n\t[Gotthard2][Mythen3] Absolute Maximum Phase " os << "[n_clock (0-5)]\n\t[Gotthard2][Mythen3] Absolute Maximum Phase "
"shift of clock n_clock." "shift of clock n_clock."
<< '\n'; << '\n';
} else { } else {
@ -785,7 +785,7 @@ std::string CmdProxy::ClockDivider(int action) {
std::ostringstream os; std::ostringstream os;
os << cmd << ' '; os << cmd << ' ';
if (action == defs::HELP_ACTION) { if (action == defs::HELP_ACTION) {
os << "[n_clock (0-8)] [n_divider]\n\t[Gotthard2][Mythen3] Clock " os << "[n_clock (0-5)] [n_divider]\n\t[Gotthard2][Mythen3] Clock "
"Divider of clock n_clock. Must be greater than 1." "Divider of clock n_clock. Must be greater than 1."
<< '\n'; << '\n';
} else { } else {