aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMartin Afanasjew2016-04-17 09:15:18 +0200
committerMartin Afanasjew2016-04-20 13:45:26 +0200
commit046b4818069e4f5382edf256fa1d19e28d896309 (patch)
tree2dff8931524155937c1a19ed4c5b2695fd7f862b /Library
parentbab823288fbfbf8cd2cfa9fe5e71205e8afc938e (diff)
downloadbrew-046b4818069e4f5382edf256fa1d19e28d896309.tar.bz2
--cellar: move help to documentation comment
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/--cellar.rb8
-rw-r--r--Library/Homebrew/manpages/brew.1.md.erb8
2 files changed, 8 insertions, 8 deletions
diff --git a/Library/Homebrew/cmd/--cellar.rb b/Library/Homebrew/cmd/--cellar.rb
index 02238cdb1..e1c641ce1 100644
--- a/Library/Homebrew/cmd/--cellar.rb
+++ b/Library/Homebrew/cmd/--cellar.rb
@@ -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
def __cellar
if ARGV.named.empty?
diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb
index 5f9c12fc0..0fecdb900 100644
--- a/Library/Homebrew/manpages/brew.1.md.erb
+++ b/Library/Homebrew/manpages/brew.1.md.erb
@@ -50,14 +50,6 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
<%= 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`:
Show a summary of the Homebrew build environment.