bash-completion: Fix cmake --help-policy lookup
This commit is contained in:
parent
f67afbdc4a
commit
48cb388ead
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue