mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
bash-completion: Fix cmake --help-policy lookup
This commit is contained in:
@@ -132,8 +132,8 @@ _cmake()
|
||||
return
|
||||
;;
|
||||
--help-policy)
|
||||
COMPREPLY=( $( compgen -W '$( cmake --help-policies 2>/dev/null |
|
||||
grep "^ CMP" 2>/dev/null )' -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W '$( cmake --help-policy-list 2>/dev/null |
|
||||
grep -v "^cmake version " )' -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
--help-property)
|
||||
|
||||
Reference in New Issue
Block a user