bash-completion: Complete 'ctest' label names
This commit is contained in:
parent
fb8acb74e8
commit
2603e12881
|
@ -19,8 +19,12 @@ _ctest()
|
||||||
_filedir
|
_filedir
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
-L|--label-regex|-LE|--label-exclude|--track|-I|--tests-information|\
|
-L|--label-regex|-LE|--label-exclude)
|
||||||
--max-width|--timeout|--stop-time)
|
COMPREPLY=( $( compgen -W '$( ctest --print-labels 2>/dev/null |
|
||||||
|
grep "^ " 2>/dev/null | cut -d" " -f 3 )' -- "$cur" ) )
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
--track|-I|--tests-information|--max-width|--timeout|--stop-time)
|
||||||
# argument required but no completions available
|
# argument required but no completions available
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue