Skip to content

Commit b09a214

Browse files
committed
(doc) Add missing tab completions for info command
While reviewing the PR to include the deployment location to the choco info and list commands, it was noticed that there were some tab completions for the info command missing, specifically the --local-only option. On further review, it was clear that there were some additional options missing, so this commit adds in the missing options for the info command. A larger scope of work would be to review all the commands to ensure that all available options are included, and better yet, it would be good to generate this tab completion file automatically as part of the build process.
1 parent ef05daf commit b09a214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chocolatey.resources/helpers/ChocolateyTabExpansion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ $allcommands = " --debug --verbose --trace --noop --help -? --online --accept-li
4343
$commandOptions = @{
4444
list = "--id-only --pre --exact --by-id-only --id-starts-with --detailed --prerelease --include-programs --source='' --page='' --page-size=''"
4545
search = "--id-only --pre --exact --by-id-only --id-starts-with --detailed --approved-only --not-broken --source='' --user='' --password='' --prerelease --include-programs --page='' --page-size='' --order-by-popularity --download-cache-only --disable-package-repository-optimizations --include-configured-sources"
46-
info = "--pre --source='' --user='' --password='' --prerelease --disable-package-repository-optimizations --include-configured-sources"
46+
info = "--source='' --local-only --version='' --prerelease --user='' --password='' --cert='' --certpassword='' --disable-package-repository-optimizations --include-configured-sources"
4747
install = "-y -whatif --pre --version= --params='' --install-arguments='' --override-arguments --ignore-dependencies --source='' --source='windowsfeatures' --user='' --password='' --prerelease --forcex86 --not-silent --package-parameters='' --exit-when-reboot-detected --ignore-detected-reboot --allow-downgrade --force-dependencies --require-checksums --use-package-exit-codes --ignore-package-exit-codes --skip-automation-scripts --ignore-checksums --allow-empty-checksums --allow-empty-checksums-secure --download-checksum='' --download-checksum-type='' --download-checksum-x64='' --download-checksum-type-x64='' --stop-on-first-package-failure --disable-package-repository-optimizations --pin --include-configured-sources"
4848
pin = "--name='' --version=''"
4949
outdated = "--source='' --user='' --password='' --ignore-pinned --ignore-unfound --pre --prerelease --disable-package-repository-optimizations --include-configured-sources"

0 commit comments

Comments
 (0)