mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10: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 [[ "${cword}" == "2" ]]; then
|
||||
FCN_RETURN=""
|
||||
IS_PATH=1
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
@ -1514,6 +1515,7 @@ FCN_RETURN=""
|
||||
if [[ ${IS_GET} -eq 1 ]]; then
|
||||
if [[ "${cword}" == "2" ]]; then
|
||||
FCN_RETURN=""
|
||||
IS_PATH=1
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
|
@ -1429,6 +1429,7 @@ fi
|
||||
if [[ ${IS_GET} -eq 0 ]]; then
|
||||
if [[ "${cword}" == "2" ]]; then
|
||||
FCN_RETURN=""
|
||||
IS_PATH=1
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
@ -1438,6 +1439,7 @@ FCN_RETURN=""
|
||||
if [[ ${IS_GET} -eq 1 ]]; then
|
||||
if [[ "${cword}" == "2" ]]; then
|
||||
FCN_RETURN=""
|
||||
IS_PATH=1
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
|
@ -3884,8 +3884,8 @@ patternX:
|
||||
require_det_id: true
|
||||
function: setPattern
|
||||
input: [ 'args[0]' ]
|
||||
arg_types: [special::path]
|
||||
input_types: [ std::string ]
|
||||
cast_input: [ false ]
|
||||
output: [ 'args.front()' ]
|
||||
|
||||
patword:
|
||||
|
@ -6539,7 +6539,7 @@ patternX:
|
||||
PUT:
|
||||
args:
|
||||
- arg_types:
|
||||
- std::string
|
||||
- special::path
|
||||
argc: 1
|
||||
cast_input:
|
||||
- false
|
||||
|
Loading…
x
Reference in New Issue
Block a user