updated help in command

This commit is contained in:
2026-05-07 17:16:26 +02:00
parent 4ef8a625ab
commit 7d959cd1a7
2 changed files with 8 additions and 4 deletions
@@ -2082,8 +2082,11 @@ datastream:
store_result_in_t: false
command_name: datastream
function_alias: datastream
help: "[left|right] [0, 1]\n\t[Eiger] Enables or disables data streaming from left\
\ or/and right side of detector for 10 GbE mode. 1 (enabled) by default."
help: "[left|right|top|bottom] [0, 1]\n\t[Eiger] Enables or disables data streaming\
\ from left or/and right side of detector for 10 GbE mode. Options: left, right.\
\ 1 (enabled) by default.\n\t[Jungfrau][Moench] Enables or disables data stream\
\ from top or/and bottom side of receiver. Can change only if numinterfaces is\
\ 2. Options: top, bottom.1 (enabled) by default."
infer_action: true
dbitclk:
actions:
+3 -2
View File
@@ -2431,8 +2431,9 @@ std::string Caller::datastream(int action) {
std::ostringstream os;
// print help
if (action == slsDetectorDefs::HELP_ACTION) {
os << R"V0G0N([left|right] [0, 1]
[Eiger] Enables or disables data streaming from left or/and right side of detector for 10 GbE mode. 1 (enabled) by default. )V0G0N"
os << R"V0G0N([left|right|top|bottom] [0, 1]
[Eiger] Enables or disables data streaming from left or/and right side of detector for 10 GbE mode. Options: left, right. 1 (enabled) by default.
[Jungfrau][Moench] Enables or disables data stream from top or/and bottom side of receiver. Can change only if numinterfaces is 2. Options: top, bottom.1 (enabled) by default. )V0G0N"
<< std::endl;
return os.str();
}