From a23504c9c46f0fcc6aef594eee92e535bfcb23bf Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 7 Jul 2020 14:14:03 +0200 Subject: [PATCH] help print --- slsDetectorSoftware/src/CmdProxy.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/slsDetectorSoftware/src/CmdProxy.cpp b/slsDetectorSoftware/src/CmdProxy.cpp index eb5ef001d..99f811e5c 100644 --- a/slsDetectorSoftware/src/CmdProxy.cpp +++ b/slsDetectorSoftware/src/CmdProxy.cpp @@ -998,10 +998,12 @@ std::string CmdProxy::Scan(int action) { os << "[dac_name|0|trimbit_scan] [start_val] [stop_val] " "[step_size] [dac settling time ns|us|ms|s]\n\tConfigures to " "scan dac and sets number of frames to number of steps. Must " - "acquire after this. To cancel the scan configuration " - "set dac to '0' without further arguments. This also sets number " + "acquire after this. \n\tTo cancel the scan configuration " + "set dac to '0' without further arguments, which also sets " + "number " "of frames back to 1." - "\n\t[Eiger]Use trimbit_scan as dac name for a trimbit scan." + "\n\t[Eiger][Mythen3] Use trimbit_scan as dac name for a trimbit " + "scan." << '\n'; } else if (action == defs::GET_ACTION) { if (args.size() != 0) { @@ -1011,8 +1013,7 @@ std::string CmdProxy::Scan(int action) { os << OutString(t) << '\n'; } else if (action == defs::PUT_ACTION) { if (det_id != -1) { - throw sls::RuntimeError( - "Cannot configure scan at module level"); + throw sls::RuntimeError("Cannot configure scan at module level"); } // disable if (args.size() == 1) {