Browse Source

bash-completion: Fix cmake --help-policy lookup

pull/254/head
Eric NOULARD 9 years ago
committed by Brad King
parent
commit
48cb388ead
  1. 4
      Auxiliary/bash-completion/cmake

4
Auxiliary/bash-completion/cmake

@ -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…
Cancel
Save