Merge topic 'bash-complete-ctest-labels'

2603e128 bash-completion: Complete 'ctest' label names
This commit is contained in:
Brad King 2014-09-04 09:48:20 -04:00 committed by CMake Topic Stage
commit 44e6612fdc
1 changed files with 6 additions and 2 deletions

View File

@ -19,8 +19,12 @@ _ctest()
_filedir
return
;;
-L|--label-regex|-LE|--label-exclude|--track|-I|--tests-information|\
--max-width|--timeout|--stop-time)
-L|--label-regex|-LE|--label-exclude)
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
return
;;