mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
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:
@@ -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}}"`
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
- Remove all dependencies when uninstalling:
|
||||
|
||||
`choco uninstall {{package}} --remove-dependencies`
|
||||
`choco uninstall {{package}} {{[-x|--remove-dependencies]}}`
|
||||
|
||||
- Uninstall all packages:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user