mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
Generate commands/fix detp detg command rename (#882)
* replacing detp with sls_Detector_put and detg with sls_detector_get * sls_detector_not implemented, but extended message to ask user to use sls_detector_get or sls_detector_put * autocompletion also for sls_detector or det
This commit is contained in:
@ -9,8 +9,9 @@ int InferAction::infer(sls::CmdParser &parser, std::ostream &os) {
|
||||
if (it != functions.end()) {
|
||||
return ((*this).*(it->second))();
|
||||
} else {
|
||||
throw RuntimeError("sls_detector not implemented for command: " +
|
||||
parser.command());
|
||||
throw RuntimeError(
|
||||
"sls_detector not implemented for command: " + parser.command() +
|
||||
". Use sls_detector_get or sls_detector_put.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user