aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/--cellar.rb8
1 files changed, 8 insertions, 0 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?