diff options
author | Brad King <brad.king@kitware.com> | 2016-08-08 14:02:15 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-08-08 14:02:15 (GMT) |
commit | 9bb2faf62a495539a81da7968921b8f95870e03f (patch) | |
tree | 1f7fe5d7c7ed6a54f1d632466c96598495c1f5a1 | |
parent | 314a953982f50f355bf552d07a9d404cc8c5ec87 (diff) | |
parent | fe7f117ad22c1f2884c47cb961ea33f1c88206a4 (diff) | |
download | CMake-9bb2faf62a495539a81da7968921b8f95870e03f.zip CMake-9bb2faf62a495539a81da7968921b8f95870e03f.tar.gz CMake-9bb2faf62a495539a81da7968921b8f95870e03f.tar.bz2 |
Merge topic 'bash-completion-fix-E-lookup'
fe7f117a bash-completion: Fix cmake -E lookup
-rw-r--r-- | Auxiliary/bash-completion/cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake index 6061129..0a862fa 100644 --- a/Auxiliary/bash-completion/cmake +++ b/Auxiliary/bash-completion/cmake @@ -102,7 +102,7 @@ _cmake() ;; -E) COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \ - '/^ /{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ + '/^ [^ ]/{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ -- "$cur" ) ) return ;; |