cmd generation and formatting
All checks were successful
Build on RHEL9 / build (push) Successful in 2m52s
Build on RHEL8 / build (push) Successful in 4m57s

This commit is contained in:
2025-06-30 17:31:22 +02:00
parent da3037a8ea
commit 5def4bdfc4
4 changed files with 4 additions and 63 deletions

View File

@ -2193,20 +2193,6 @@ return 0
} }
__rx_roi() { __rx_roi() {
FCN_RETURN="" FCN_RETURN=""
if [[ ${IS_GET} -eq 0 ]]; then
if [[ "${cword}" == "2" ]]; then
FCN_RETURN=""
fi
if [[ "${cword}" == "3" ]]; then
FCN_RETURN=""
fi
if [[ "${cword}" == "4" ]]; then
FCN_RETURN=""
fi
if [[ "${cword}" == "5" ]]; then
FCN_RETURN=""
fi
fi
return 0 return 0
} }
__rx_silent() { __rx_silent() {

View File

@ -2117,20 +2117,6 @@ return 0
} }
__rx_roi() { __rx_roi() {
FCN_RETURN="" FCN_RETURN=""
if [[ ${IS_GET} -eq 0 ]]; then
if [[ "${cword}" == "2" ]]; then
FCN_RETURN=""
fi
if [[ "${cword}" == "3" ]]; then
FCN_RETURN=""
fi
if [[ "${cword}" == "4" ]]; then
FCN_RETURN=""
fi
if [[ "${cword}" == "5" ]]; then
FCN_RETURN=""
fi
fi
return 0 return 0
} }
__rx_silent() { __rx_silent() {

View File

@ -8831,25 +8831,8 @@ rx_roi:
store_result_in_t: true store_result_in_t: true
PUT: PUT:
args: args:
- arg_types: - arg_types: []
- int argc: -1
- int
argc: 2
cast_input: []
check_det_id: false
convert_det_id: true
function: ''
input: []
input_types: []
output: []
require_det_id: false
store_result_in_t: false
- arg_types:
- int
- int
- int
- int
argc: 4
cast_input: [] cast_input: []
check_det_id: false check_det_id: false
convert_det_id: true convert_det_id: true

View File

@ -2769,22 +2769,8 @@ int InferAction::rx_realudpsocksize() {
int InferAction::rx_roi() { int InferAction::rx_roi() {
if (args.size() == 0) { throw RuntimeError("sls_detector is disabled for command: rx_roi. Use "
return slsDetectorDefs::GET_ACTION; "sls_detector_get or sls_detector_put");
}
if (args.size() == 2) {
return slsDetectorDefs::PUT_ACTION;
}
if (args.size() == 4) {
return slsDetectorDefs::PUT_ACTION;
}
else {
throw RuntimeError("Could not infer action: Wrong number of arguments");
}
} }
int InferAction::rx_silent() { int InferAction::rx_silent() {