CMake: fix option completion after first argument
for some reason this just ended after the first option.
This commit is contained in:
parent
2e009c7ab8
commit
63b470243b
|
@ -565,11 +565,12 @@ elif [ $CURRENT -eq 2 ] ; then
|
|||
"$cmake_suggest_install[@]" && return 0
|
||||
elif [[ $words[2] = --help* ]] ; then
|
||||
_cmake_help
|
||||
#elif [[ $words[2] != -E ]] ; then
|
||||
elif [[ $words[2] == --build ]] ; then
|
||||
_cmake_on_build
|
||||
elif [[ $words[2] == --install ]] ; then
|
||||
_cmake_on_install
|
||||
else
|
||||
elif [[ $words[2] == -E ]]; then
|
||||
_cmake_command
|
||||
fi
|
||||
else
|
||||
_arguments "$cmake_build_options[@]"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue