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 09:54:29 -0400 |
commit | f67afbdc4a97c0b0305763e714d22dd04ead16f3 (patch) | |
tree | ec88351ea492f346156ac0b4177bd557cc63c8db /Auxiliary | |
parent | 9d81f1b3aaa82d12a3a87067572b3ff5e2b9c4d2 (diff) | |
download | cmake-f67afbdc4a97c0b0305763e714d22dd04ead16f3.tar.gz |
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 557f243e30..6997d47e67 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" ) ) |