mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 15:00:02 +02:00
newline in command docs
This commit is contained in:
parent
0f80079d16
commit
0253933271
@ -48,7 +48,7 @@ int main() {
|
||||
auto tmp = os.str().erase(0, cmd.size());
|
||||
auto usage = tmp.substr(0, tmp.find_first_of('\n'));
|
||||
tmp.erase(0, usage.size());
|
||||
auto help = replace_all(tmp, "\n\t", "\n\t\t");
|
||||
auto help = replace_all(tmp, "\n\t", "\n\t\t| ");
|
||||
fs << '\t' << cmd << usage << help << "\n";
|
||||
}
|
||||
}
|
@ -182,7 +182,7 @@ std::string CmdProxy::VirtualServer(int action) {
|
||||
std::string CmdProxy::Acquire(int action) {
|
||||
std::ostringstream os;
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << cmd << " - Acquire the number of frames set up.\n";
|
||||
os << cmd << "\n\tAcquire the number of frames set up.\n";
|
||||
} else {
|
||||
if (det->empty()) {
|
||||
throw sls::RuntimeError(
|
||||
@ -1612,7 +1612,7 @@ std::string CmdProxy::VetoPhoton(int action) {
|
||||
os << "[ichip] [#photons] [energy in keV] [reference "
|
||||
"file]\n\t[Gotthard2] Set veto reference for 128 channels for "
|
||||
"chip ichip according to reference file and #photons and energy "
|
||||
"in keV.\n"
|
||||
"in keV.\n\t"
|
||||
<< "[ichip] [output file]\n\t Get gain indices and veto reference "
|
||||
"for 128 channels for chip ichip, saved to file."
|
||||
<< '\n';
|
||||
|
@ -1691,7 +1691,7 @@ class CmdProxy {
|
||||
StringTo<int>,
|
||||
"[n]\n\tDefault is 50002.\n\t[Jungfrau] Port number of the receiver "
|
||||
"(destination) udp interface where the second half of detector data is "
|
||||
"sent to. \n[Eiger] Port number of the reciever (desintation) udp "
|
||||
"sent to. \n\t[Eiger] Port number of the reciever (desintation) udp "
|
||||
"interface where the right half of the detector data is sent to.");
|
||||
|
||||
EXECUTE_SET_COMMAND(
|
||||
|
Loading…
x
Reference in New Issue
Block a user