From a4926e6ae193d8c647be1bb885e6c2c9171c527a Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 10 Sep 2020 17:04:08 +0200 Subject: [PATCH] help fix for cmd line --- slsDetectorSoftware/src/CmdProxy.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/slsDetectorSoftware/src/CmdProxy.cpp b/slsDetectorSoftware/src/CmdProxy.cpp index 692807d65..3546a53d0 100644 --- a/slsDetectorSoftware/src/CmdProxy.cpp +++ b/slsDetectorSoftware/src/CmdProxy.cpp @@ -670,7 +670,7 @@ std::string CmdProxy::ClockFrequency(int action) { std::ostringstream os; os << cmd << ' '; 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." << '\n'; } else { @@ -703,7 +703,7 @@ std::string CmdProxy::ClockPhase(int action) { std::ostringstream os; os << cmd << ' '; 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 " "deg, then phase shift in degrees, else absolute phase shift " "values." @@ -756,7 +756,7 @@ std::string CmdProxy::MaxClockPhaseShift(int action) { std::ostringstream os; os << cmd << ' '; 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." << '\n'; } else { @@ -785,7 +785,7 @@ std::string CmdProxy::ClockDivider(int action) { std::ostringstream os; os << cmd << ' '; 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." << '\n'; } else { @@ -1975,7 +1975,7 @@ std::string CmdProxy::SlowAdc(int action) { result[i] = t[i] / 1000.00; } os << OutString(result) << " mV\n"; - + } else if (action == defs::PUT_ACTION) { throw sls::RuntimeError("cannot put"); } else {