cmd/help: usability tweaks.
- Don’t mention `brew home` or `brew options` as their output is in `brew info` (and the `(…|…)` is weird. - Use full length flags for `-v` and `-d` to make more obvious what they are doing - Don’t use `Developers`; instead point out it’s how you contribute - Mention `brew commands` for `COMMAND` output (like we do with `FORMULA` and `brew search`) - Point towards `docs.brew.sh`
This commit is contained in:
parent
cc2d9d926e
commit
4c07685258
@ -1,7 +1,7 @@
|
|||||||
HOMEBREW_HELP = <<~EOS.freeze
|
HOMEBREW_HELP = <<~EOS.freeze
|
||||||
Example usage:
|
Example usage:
|
||||||
brew search [TEXT|/REGEX/]
|
brew search [TEXT|/REGEX/]
|
||||||
brew (info|home|options) [FORMULA...]
|
brew info [FORMULA...]
|
||||||
brew install FORMULA...
|
brew install FORMULA...
|
||||||
brew update
|
brew update
|
||||||
brew upgrade [FORMULA...]
|
brew upgrade [FORMULA...]
|
||||||
@ -11,17 +11,17 @@ HOMEBREW_HELP = <<~EOS.freeze
|
|||||||
Troubleshooting:
|
Troubleshooting:
|
||||||
brew config
|
brew config
|
||||||
brew doctor
|
brew doctor
|
||||||
brew install -vd FORMULA
|
brew install --verbose --debug FORMULA
|
||||||
|
|
||||||
Developers:
|
Contributing:
|
||||||
brew create [URL [--no-fetch]]
|
brew create [URL [--no-fetch]]
|
||||||
brew edit [FORMULA...]
|
brew edit [FORMULA...]
|
||||||
https://docs.brew.sh/Formula-Cookbook
|
|
||||||
|
|
||||||
Further help:
|
Further help:
|
||||||
man brew
|
brew commands
|
||||||
brew help [COMMAND]
|
brew help [COMMAND]
|
||||||
brew home
|
man brew
|
||||||
|
https://docs.brew.sh
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
# NOTE Keep the lenth of vanilla --help less than 25 lines!
|
# NOTE Keep the lenth of vanilla --help less than 25 lines!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user