diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb index 85b9abf1e1..b45d0e01ba 100644 --- a/Library/Homebrew/cmd/fetch.rb +++ b/Library/Homebrew/cmd/fetch.rb @@ -19,11 +19,11 @@ module Homebrew description: "Fetch HEAD version instead of stable version." switch "--devel", description: "Fetch development version instead of stable version." + switch :force, + description: "Remove a previously cached version and re-fetch." switch :verbose, description: "Do a verbose VCS checkout, if the URL represents a VCS. This is useful for "\ "seeing if an existing VCS cache has been updated." - switch :force, - description: "Remove a previously cached version and re-fetch." switch "--retry", description: "Retry if a download fails or re-download if the checksum of a previously cached "\ "version no longer matches." diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb index ef9f859d31..efac55a959 100644 --- a/Library/Homebrew/cmd/gist-logs.rb +++ b/Library/Homebrew/cmd/gist-logs.rb @@ -17,9 +17,6 @@ module Homebrew Upload logs for a failed build of to a new Gist. - is usually the name of the formula to install, but it can be specified - in several different ways. - If no logs are found, an error message is presented. EOS switch "--with-hostname", diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 1700b3da2f..4fa415538d 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -20,9 +20,6 @@ module Homebrew Install . - is usually the name of the formula to install, but it can be specified - in several different ways. - Unless `HOMEBREW_NO_INSTALL_CLEANUP` is set, `brew cleanup` will be run for the installed formulae or, every 30 days, for all formulae. EOS diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb index 47016cb33b..1efaf3fb3a 100644 --- a/Library/Homebrew/cmd/options.rb +++ b/Library/Homebrew/cmd/options.rb @@ -16,12 +16,12 @@ module Homebrew EOS switch "--compact", description: "Show all options on a single line separated by spaces." - switch "--all", - description: "Show options for all formulae." switch "--installed", description: "Show options for all installed formulae." + switch "--all", + description: "Show options for all available formulae." switch :debug - conflicts "--all", "--installed" + conflicts "--installed", "--all" end end diff --git a/Library/Homebrew/cmd/postinstall.rb b/Library/Homebrew/cmd/postinstall.rb index 4f11e89310..f22f8f6289 100644 --- a/Library/Homebrew/cmd/postinstall.rb +++ b/Library/Homebrew/cmd/postinstall.rb @@ -14,8 +14,8 @@ module Homebrew Rerun the post-install steps for . EOS - switch :verbose switch :force + switch :verbose switch :debug end end diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 725a3ce8ff..51b907d85a 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -29,8 +29,8 @@ module Homebrew description: "Run in 'auto-update' mode (faster, less output)." switch :force switch :quiet - switch :debug switch :verbose + switch :debug hide_from_man_page! end end diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb index 2a70e97bc4..e3e92d9353 100644 --- a/Library/Homebrew/manpages/brew.1.md.erb +++ b/Library/Homebrew/manpages/brew.1.md.erb @@ -33,6 +33,9 @@ these flags should only appear after a command. Install . + is usually the name of the formula to install, but it has other syntaxes which +are listed in the [SPECIFYING FORMULAE](#specifying-formulae) section. + ### `uninstall` : Uninstall .