From f1ffc6057aeb77843dd691f29d9a39aa083e4ed6 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 20 Nov 2024 11:14:50 +0100 Subject: [PATCH] fixed cli documentation (#1038) --- slsDetectorSoftware/generator/commands.yaml | 2 +- slsDetectorSoftware/generator/extended_commands.yaml | 2 +- slsDetectorSoftware/src/Caller.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/slsDetectorSoftware/generator/commands.yaml b/slsDetectorSoftware/generator/commands.yaml index edcd1972d..4d8ac3586 100644 --- a/slsDetectorSoftware/generator/commands.yaml +++ b/slsDetectorSoftware/generator/commands.yaml @@ -3627,7 +3627,7 @@ inj_ch: output: [ ToString(args) ] vetophoton: - help: "[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[ichip] [output file]\n\t Get gain indices and veto reference for 128 channels for chip ichip, saved to file." + help: "[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\t[ichip] [output file]\n\t Get gain indices and veto reference for 128 channels for chip ichip, saved to file." actions: GET: argc: 2 diff --git a/slsDetectorSoftware/generator/extended_commands.yaml b/slsDetectorSoftware/generator/extended_commands.yaml index 2dfd091bb..6702c6a12 100644 --- a/slsDetectorSoftware/generator/extended_commands.yaml +++ b/slsDetectorSoftware/generator/extended_commands.yaml @@ -13711,7 +13711,7 @@ vetophoton: function_alias: vetophoton help: "[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[ichip] [output file]\n\t Get gain indices and veto reference\ + \ and energy in keV.\n\t[ichip] [output file]\n\t Get gain indices and veto reference\ \ for 128 channels for chip ichip, saved to file." infer_action: true vetoref: diff --git a/slsDetectorSoftware/src/Caller.cpp b/slsDetectorSoftware/src/Caller.cpp index 850178da0..6530bfc54 100644 --- a/slsDetectorSoftware/src/Caller.cpp +++ b/slsDetectorSoftware/src/Caller.cpp @@ -17634,7 +17634,7 @@ std::string Caller::vetophoton(int action) { if (action == slsDetectorDefs::HELP_ACTION) { os << R"V0G0N([ichip] [#photons] [energy in keV] [reference file] [Gotthard2] Set veto reference for 128 channels for chip ichip according to reference file and #photons and energy in keV. -[ichip] [output file] + [ichip] [output file] Get gain indices and veto reference for 128 channels for chip ichip, saved to file. )V0G0N" << std::endl; return os.str();