diff options
| author | Eric NOULARD <eric.noulard@gmail.com> | 2016-06-10 15:28:05 +0200 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2016-06-10 10:45:25 -0400 |
| commit | 48cb388ead09794aae01328d83620e10a8f7636b (patch) | |
| tree | 434ea89d8cf96c971c89c75d2cc755ed1754bce6 /Auxiliary/bash-completion | |
| parent | f67afbdc4a97c0b0305763e714d22dd04ead16f3 (diff) | |
| download | cmake-48cb388ead09794aae01328d83620e10a8f7636b.tar.gz | |
bash-completion: Fix cmake --help-policy lookup
Diffstat (limited to 'Auxiliary/bash-completion')
| -rw-r--r-- | Auxiliary/bash-completion/cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake index 6997d47e67..60611296ec 100644 --- a/Auxiliary/bash-completion/cmake +++ b/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) |
