mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
--prefix: move help to documentation comment
This commit is contained in:
parent
a3352c000e
commit
6931e9421a
@ -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
|
module Homebrew
|
||||||
def __prefix
|
def __prefix
|
||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
|
@ -50,12 +50,6 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
|
|||||||
|
|
||||||
<%= commands.join("\n") %>
|
<%= 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`:
|
* `--repository`:
|
||||||
Display where Homebrew's `.git` directory is located. For standard installs,
|
Display where Homebrew's `.git` directory is located. For standard installs,
|
||||||
the `prefix` and `repository` are the same directory.
|
the `prefix` and `repository` are the same directory.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user