bash-completion: Add cmake --help-manual
This commit is contained in:
parent
9d81f1b3aa
commit
f67afbdc4a
|
@ -121,6 +121,11 @@ _cmake()
|
||||||
grep -v "^cmake version " )' -- "$cur" ) )
|
grep -v "^cmake version " )' -- "$cur" ) )
|
||||||
return
|
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)
|
--help-module)
|
||||||
COMPREPLY=( $( compgen -W '$( cmake --help-module-list 2>/dev/null|
|
COMPREPLY=( $( compgen -W '$( cmake --help-module-list 2>/dev/null|
|
||||||
grep -v "^cmake version " )' -- "$cur" ) )
|
grep -v "^cmake version " )' -- "$cur" ) )
|
||||||
|
|
Loading…
Reference in New Issue