--prefix: move help to documentation comment

This commit is contained in:
Martin Afanasjew 2016-04-17 09:19:35 +02:00
parent a3352c000e
commit 6931e9421a
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,9 @@
#: * `--prefix`:
#: Display Homebrew's install path. *Default:* `/usr/local`
#:
#: * `--prefix` <formula>:
#: Display the location in the cellar where <formula> is or would be installed.
module Homebrew
def __prefix
if ARGV.named.empty?

View File

@ -50,12 +50,6 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
<%= commands.join("\n") %>
* `--prefix`:
Display Homebrew's install path. *Default:* `/usr/local`
* `--prefix` <formula>:
Display the location in the cellar where <formula> is or would be installed.
* `--repository`:
Display where Homebrew's `.git` directory is located. For standard installs,
the `prefix` and `repository` are the same directory.