From 742df8bbf415a5145352b9dad5bef83a09cc92c4 Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Sun, 1 May 2016 15:22:55 +0200 Subject: 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 --- Library/Homebrew/cmd/help.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Library/Homebrew/cmd/help.rb') 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]] -- cgit v1.2.3