fix missing argument parameters

This commit is contained in:
Shohei YOSHIDA 2026-06-25 14:46:23 +09:00
parent 473f4d9d19
commit 33a54893e3
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 7 additions and 0 deletions

View File

@ -279,6 +279,7 @@ _conan_config() {
\*{-a,--args}'[String with extra arguments for "git clone"]:arg' \*{-a,--args}'[String with extra arguments for "git clone"]:arg'
\*{-sf,--source-folder}'[Install files only from a source subfolder from specified origin]: :_files -/' \*{-sf,--source-folder}'[Install files only from a source subfolder from specified origin]: :_files -/'
'(-tf --target-folder)'{-tf,--target-folder}'[Install to that path in the conan cache]: :_files -/' '(-tf --target-folder)'{-tf,--target-folder}'[Install to that path in the conan cache]: :_files -/'
'*:item:_files'
) )
;; ;;
(install-pkg) (install-pkg)
@ -292,11 +293,13 @@ _conan_config() {
'(-pr --profile)'{-pr,--profile}'[profile to install config]:profile' '(-pr --profile)'{-pr,--profile}'[profile to install config]:profile'
'(-s --settings)'{-s,--settings}'[settings to install config]:settings' '(-s --settings)'{-s,--settings}'[settings to install config]:settings'
'(-o --options)'{-o,--options}'[options to install config]:options' '(-o --options)'{-o,--options}'[options to install config]:options'
'*:package_reference'
) )
;; ;;
(list|show) (list|show)
opts+=( opts+=(
'(-f --format)'{-f,--format}'[select the output format]:format:(json)' '(-f --format)'{-f,--format}'[select the output format]:format:(json)'
'*:pattern'
) )
;; ;;
esac esac
@ -367,6 +370,7 @@ _conan_graph() {
'*--package-filter[print information only for packages that match the patterns]:pattern' '*--package-filter[print information only for packages that match the patterns]:pattern'
'(-d --deployer)'{-d,--deployer}'[deploy using the provided deployer to the output folder]:deployer:(full_deploy direct_deploy)' '(-d --deployer)'{-d,--deployer}'[deploy using the provided deployer to the output folder]:deployer:(full_deploy direct_deploy)'
'(-df --deployer-folder)'{-df,--deployer-folder}'[deployer output folder]:folder:_files -/' '(-df --deployer-folder)'{-df,--deployer-folder}'[deployer output folder]:folder:_files -/'
'*:path:_files'
) )
;; ;;
(build-order-merge) (build-order-merge)
@ -543,6 +547,7 @@ _conan_lock() {
$conan_profile_options[@] $conan_profile_options[@]
$conan_reference_options[@] $conan_reference_options[@]
$conan_lockfile_options[@] $conan_lockfile_options[@]
'*:path:_files'
) )
;; ;;
(upgrade-config) (upgrade-config)
@ -554,6 +559,7 @@ _conan_lock() {
$conan_profile_options[@] $conan_profile_options[@]
$conan_reference_options[@] $conan_reference_options[@]
$conan_lockfile_options[@] $conan_lockfile_options[@]
'*:path:_files'
) )
;; ;;
esac esac
@ -1108,6 +1114,7 @@ _conan_audit() {
$conan_profile_options[@] \ $conan_profile_options[@] \
$conan_reference_options[@] \ $conan_reference_options[@] \
$conan_lockfile_options[@] \ $conan_lockfile_options[@] \
'*::path:_files' \
&& ret=0 && ret=0
;; ;;
esac esac