--cellar: move help to documentation comment
This commit is contained in:
parent
bab823288f
commit
046b481806
@ -1,3 +1,11 @@
|
|||||||
|
#: * `--cellar`:
|
||||||
|
#: Display Homebrew's Cellar path. *Default:* `$(brew --prefix)/Cellar`, or if
|
||||||
|
#: that directory doesn't exist, `$(brew --repository)/Cellar`.
|
||||||
|
#:
|
||||||
|
#: * `--cellar` <formula>:
|
||||||
|
#: Display the location in the cellar where <formula> would be installed,
|
||||||
|
#: without any sort of versioned directory as the last path.
|
||||||
|
|
||||||
module Homebrew
|
module Homebrew
|
||||||
def __cellar
|
def __cellar
|
||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
|
|||||||
@ -50,14 +50,6 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
|
|||||||
|
|
||||||
<%= commands.join("\n") %>
|
<%= commands.join("\n") %>
|
||||||
|
|
||||||
* `--cellar`:
|
|
||||||
Display Homebrew's Cellar path. *Default:* `$(brew --prefix)/Cellar`, or if
|
|
||||||
that directory doesn't exist, `$(brew --repository)/Cellar`.
|
|
||||||
|
|
||||||
* `--cellar` <formula>:
|
|
||||||
Display the location in the cellar where <formula> would be installed,
|
|
||||||
without any sort of versioned directory as the last path.
|
|
||||||
|
|
||||||
* `--env`:
|
* `--env`:
|
||||||
Show a summary of the Homebrew build environment.
|
Show a summary of the Homebrew build environment.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user