mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
brew-{autoremove, install, upgrade}: add short options (#17331)
This commit is contained in:
@@ -9,4 +9,4 @@
|
||||
|
||||
- Print what would be removed, but don't actually remove anything:
|
||||
|
||||
`brew autoremove --dry-run`
|
||||
`brew autoremove {{[-n|--dry-run]}}`
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
- Build and install a formula from source (dependencies will still be installed from bottles):
|
||||
|
||||
`brew install --build-from-source {{formula}}`
|
||||
`brew install {{[-s|--build-from-source]}} {{formula}}`
|
||||
|
||||
- Download the manifest, print what would be installed but don't actually install anything:
|
||||
|
||||
`brew install --dry-run {{formula|cask}}`
|
||||
`brew install {{[-n|--dry-run]}} {{formula|cask}}`
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
|
||||
- Print what would be upgraded, but don't actually upgrade anything:
|
||||
|
||||
`brew upgrade --dry-run`
|
||||
`brew upgrade {{[-n|--dry-run]}}`
|
||||
|
||||
Reference in New Issue
Block a user