diff options
| author | Martin Afanasjew | 2016-05-01 15:22:55 +0200 |
|---|---|---|
| committer | Martin Afanasjew | 2016-05-05 23:35:54 +0200 |
| commit | 742df8bbf415a5145352b9dad5bef83a09cc92c4 (patch) | |
| tree | 32467e473475195341003a7fed0e213d382465ee | |
| parent | d579dbb4cadefb732a907fdda97d400a0cef2f2d (diff) | |
| download | brew-742df8bbf415a5145352b9dad5bef83a09cc92c4.tar.bz2 | |
Reorder usage examples for brew help
- Reorder listed commands to better reflect a typical workflow (search,
then query for details via `info` and friends, then install, later
update and upgrade, at last maybe uninstall).
- Remove niche `pin` and `unpin` commands.
- Drop `--env` in the Troubleshooting section.
And use `/REGEX/` instead of `/PATTERN/` to be clearer what is expected.
Closes #177.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
| -rw-r--r-- | Library/Homebrew/cmd/help.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/help.rb b/Library/Homebrew/cmd/help.rb index b8dcad3d5..7cb414ca1 100644 --- a/Library/Homebrew/cmd/help.rb +++ b/Library/Homebrew/cmd/help.rb @@ -1,18 +1,17 @@ HOMEBREW_HELP = <<-EOS Example usage: + brew search [TEXT|/REGEX/] brew (info|home|options) [FORMULA...] brew install FORMULA... - brew uninstall FORMULA... - brew search [TEXT|/PATTERN/] - brew list [FORMULA...] brew update brew upgrade [FORMULA...] - brew (pin|unpin) [FORMULA...] + brew uninstall FORMULA... + brew list [FORMULA...] Troubleshooting: + brew config brew doctor brew install -vd FORMULA - brew (--env|config) Brewing: brew create [URL [--no-fetch]] |
