diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2016-06-10 13:28:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-10 13:54:29 (GMT) |
commit | f67afbdc4a97c0b0305763e714d22dd04ead16f3 (patch) | |
tree | ec88351ea492f346156ac0b4177bd557cc63c8db /Auxiliary | |
parent | 9d81f1b3aaa82d12a3a87067572b3ff5e2b9c4d2 (diff) | |
download | CMake-f67afbdc4a97c0b0305763e714d22dd04ead16f3.zip CMake-f67afbdc4a97c0b0305763e714d22dd04ead16f3.tar.gz CMake-f67afbdc4a97c0b0305763e714d22dd04ead16f3.tar.bz2 |
bash-completion: Add cmake --help-manual
Diffstat (limited to 'Auxiliary')
-rw-r--r-- | Auxiliary/bash-completion/cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake index 557f243..6997d47 100644 --- a/Auxiliary/bash-completion/cmake +++ b/Auxiliary/bash-completion/cmake @@ -121,6 +121,11 @@ _cmake() grep -v "^cmake version " )' -- "$cur" ) ) return ;; + --help-manual) + COMPREPLY=( $( compgen -W '$( cmake --help-manual-list 2>/dev/null| + grep -v "^cmake version " | sed -e "s/([0-9])$//" )' -- "$cur" ) ) + return + ;; --help-module) COMPREPLY=( $( compgen -W '$( cmake --help-module-list 2>/dev/null| grep -v "^cmake version " )' -- "$cur" ) ) |