help: improve styling of generic help text
Format the usage examples more consistently (particularly parentheses instead of square brackets where one of several alternatives has to be picked). And add the now much more useful `brew help <command>`. Closes #113. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
This commit is contained in:
parent
312fdaa892
commit
4f8e3cae5e
@ -1,18 +1,18 @@
|
||||
HOMEBREW_HELP = <<-EOS
|
||||
Example usage:
|
||||
brew [info | home | options ] [FORMULA...]
|
||||
brew (info|home|options) [FORMULA...]
|
||||
brew install FORMULA...
|
||||
brew uninstall FORMULA...
|
||||
brew search [foo]
|
||||
brew search [TEXT|/PATTERN/]
|
||||
brew list [FORMULA...]
|
||||
brew update
|
||||
brew upgrade [FORMULA...]
|
||||
brew pin/unpin [FORMULA...]
|
||||
brew (pin|unpin) [FORMULA...]
|
||||
|
||||
Troubleshooting:
|
||||
brew doctor
|
||||
brew install -vd FORMULA
|
||||
brew [--env | config]
|
||||
brew (--env|config)
|
||||
|
||||
Brewing:
|
||||
brew create [URL [--no-fetch]]
|
||||
@ -21,6 +21,7 @@ Brewing:
|
||||
|
||||
Further help:
|
||||
man brew
|
||||
brew help [COMMAND]
|
||||
brew home
|
||||
EOS
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user