choco-{install, uninstall, apikey}: update for v2 (#23297)

* choco-install: update for v2

* choco-apikey: update for v2

* choco-uninstall: add short flag for --remove-dependencies
This commit is contained in:
Ivan Baluta
2026-07-25 22:20:34 +07:00
committed by GitHub
parent 51b1864217
commit e7f05e2fef
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -15,6 +15,6 @@
`choco apikey {{[-s|--source]}} "{{source_url}}" {{[-k|--api-key]}} "{{api_key}}"`
- Remove an API key for a source:
- Remove the API key for a source:
`choco apikey {{[-s|--source]}} "{{source_url}}" --remove`
`choco apikey remove {{[-s|--source]}} "{{source_url}}"`
+2 -2
View File
@@ -19,9 +19,9 @@
`choco install {{package}} --version {{version}}`
- Allow installing multiple versions of a package:
- Force reinstallation of a package:
`choco install {{package}} --allow-multiple`
`choco install {{package}} {{[-f|--force]}}`
- Confirm all prompts automatically:
+1 -1
View File
@@ -17,7 +17,7 @@
- Remove all dependencies when uninstalling:
`choco uninstall {{package}} --remove-dependencies`
`choco uninstall {{package}} {{[-x|--remove-dependencies]}}`
- Uninstall all packages: