mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 01:50:40 +02:00
ctb: make patternX path autocomplete (#1065)
This commit is contained in:
parent
dee86c63eb
commit
e83527adee
@ -1505,6 +1505,7 @@ fi
|
|||||||
if [[ ${IS_GET} -eq 0 ]]; then
|
if [[ ${IS_GET} -eq 0 ]]; then
|
||||||
if [[ "${cword}" == "2" ]]; then
|
if [[ "${cword}" == "2" ]]; then
|
||||||
FCN_RETURN=""
|
FCN_RETURN=""
|
||||||
|
IS_PATH=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
@ -1514,6 +1515,7 @@ FCN_RETURN=""
|
|||||||
if [[ ${IS_GET} -eq 1 ]]; then
|
if [[ ${IS_GET} -eq 1 ]]; then
|
||||||
if [[ "${cword}" == "2" ]]; then
|
if [[ "${cword}" == "2" ]]; then
|
||||||
FCN_RETURN=""
|
FCN_RETURN=""
|
||||||
|
IS_PATH=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
@ -1429,6 +1429,7 @@ fi
|
|||||||
if [[ ${IS_GET} -eq 0 ]]; then
|
if [[ ${IS_GET} -eq 0 ]]; then
|
||||||
if [[ "${cword}" == "2" ]]; then
|
if [[ "${cword}" == "2" ]]; then
|
||||||
FCN_RETURN=""
|
FCN_RETURN=""
|
||||||
|
IS_PATH=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
@ -1438,6 +1439,7 @@ FCN_RETURN=""
|
|||||||
if [[ ${IS_GET} -eq 1 ]]; then
|
if [[ ${IS_GET} -eq 1 ]]; then
|
||||||
if [[ "${cword}" == "2" ]]; then
|
if [[ "${cword}" == "2" ]]; then
|
||||||
FCN_RETURN=""
|
FCN_RETURN=""
|
||||||
|
IS_PATH=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
@ -3884,8 +3884,8 @@ patternX:
|
|||||||
require_det_id: true
|
require_det_id: true
|
||||||
function: setPattern
|
function: setPattern
|
||||||
input: [ 'args[0]' ]
|
input: [ 'args[0]' ]
|
||||||
|
arg_types: [special::path]
|
||||||
input_types: [ std::string ]
|
input_types: [ std::string ]
|
||||||
cast_input: [ false ]
|
|
||||||
output: [ 'args.front()' ]
|
output: [ 'args.front()' ]
|
||||||
|
|
||||||
patword:
|
patword:
|
||||||
|
@ -6539,7 +6539,7 @@ patternX:
|
|||||||
PUT:
|
PUT:
|
||||||
args:
|
args:
|
||||||
- arg_types:
|
- arg_types:
|
||||||
- std::string
|
- special::path
|
||||||
argc: 1
|
argc: 1
|
||||||
cast_input:
|
cast_input:
|
||||||
- false
|
- false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user