summaryrefslogtreecommitdiff
path: root/Auxiliary
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2016-06-10 15:28:05 +0200
committerBrad King <brad.king@kitware.com>2016-06-10 09:54:29 -0400
commitf67afbdc4a97c0b0305763e714d22dd04ead16f3 (patch)
treeec88351ea492f346156ac0b4177bd557cc63c8db /Auxiliary
parent9d81f1b3aaa82d12a3a87067572b3ff5e2b9c4d2 (diff)
downloadcmake-f67afbdc4a97c0b0305763e714d22dd04ead16f3.tar.gz
bash-completion: Add cmake --help-manual
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/bash-completion/cmake5
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" ) )