#605: conan: fix plural form confusion

This commit is contained in:
Julien Nicoulaud 2018-11-04 14:34:53 +01:00
parent e11fbae88e
commit c614accc90
No known key found for this signature in database
GPG Key ID: D713C40AA20BF77D
1 changed files with 11 additions and 11 deletions

View File

@ -242,7 +242,7 @@ _conan_info_args() {
'(-h --help)'{-s,--settings}'[settings to build the package, overwriting the defaults. e.g., -s compiler=gcc]: :_conan_settings' \
'(-h --help)'{-e,--env}'[environment variables that will be set during the package build, -e CXX=/usr/bin/clang++]: :_conan_environment_variables' \
'(-h --help -b --build)'{-b,--build}'[given a build policy (same install command "build" parameter), return an ordered list of packages that would be built from sources in install command (simulation)]: :_conan_build_policies' \
'(-h --help)1: :_conan_conanfile_or_package_references'
'(-h --help)1: :_conan_conanfiles_or_package_references'
}
(( $+functions[_conan_info_only_values] )) ||
@ -288,7 +288,7 @@ _conan_install_args() {
'(-h --help)'{-s,--settings}'[settings to build the package, overwriting the defaults. e.g., -s compiler=gcc]: :_conan_settings' \
'(-h --help)'{-e,--env}'[environment variables that will be set during the package build, -e CXX=/usr/bin/clang++]: :_conan_environment_variables' \
'(-h --help -b --build)'{-b,--build}'[given a build policy (same install command "build" parameter), return an ordered list of packages that would be built from sources in install command (simulation)]: :_conan_build_policies' \
'(-h --help)1: :_conan_conanfile'
'(-h --help)1: :_conan_conanfiles'
}
(( $+functions[_conan_new_args] )) ||
@ -484,7 +484,7 @@ _conan_conanfiles() {
}
(( $+functions[_conan_directory_or_package_references] )) ||
_conan_conanfile_or_package_references() {
_conan_conanfiles_or_package_references() {
_alternative \
'conanfile: :_conan_conanfiles' \
'package-references: :_conan_package_references'