--cache: move help to documentation comment

This commit is contained in:
Martin Afanasjew 2016-04-17 09:11:48 +02:00
parent d29d58b3fb
commit bab823288f
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,9 @@
#: * `--cache`:
#: Display Homebrew's download cache. See also `HOMEBREW_CACHE`.
#:
#: * `--cache` <formula>:
#: Display the file or directory used to cache <formula>.
require "cmd/fetch"
module Homebrew

View File

@ -50,12 +50,6 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
<%= commands.join("\n") %>
* `--cache`:
Display Homebrew's download cache. See also `HOMEBREW_CACHE`.
* `--cache` <formula>:
Display the file or directory used to cache <formula>.
* `--cellar`:
Display Homebrew's Cellar path. *Default:* `$(brew --prefix)/Cellar`, or if
that directory doesn't exist, `$(brew --repository)/Cellar`.