aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Afanasjew2016-04-17 09:21:02 +0200
committerMartin Afanasjew2016-04-20 13:45:26 +0200
commit76f04799692ac896908bf2db21b9bad16769c2e3 (patch)
tree45312f1e397312f534b07dc0e589315a53053c69
parent6931e9421a48e486f187b42a1c7789e742bcb1b5 (diff)
downloadbrew-76f04799692ac896908bf2db21b9bad16769c2e3.tar.bz2
--repository: move help to documentation comment
-rw-r--r--Library/Homebrew/cmd/--repository.rb7
-rw-r--r--Library/Homebrew/manpages/brew.1.md.erb7
2 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/cmd/--repository.rb b/Library/Homebrew/cmd/--repository.rb
index b697b3eaa..b3ad8367a 100644
--- a/Library/Homebrew/cmd/--repository.rb
+++ b/Library/Homebrew/cmd/--repository.rb
@@ -1,3 +1,10 @@
+#: * `--repository`:
+#: Display where Homebrew's `.git` directory is located. For standard installs,
+#: the `prefix` and `repository` are the same directory.
+#:
+#: * `--repository` <user>`/`<repo>:
+#: Display where tap <user>`/`<repo>'s directory is located.
+
require "tap"
module Homebrew
diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb
index 0ad4c0b5d..b6726089e 100644
--- a/Library/Homebrew/manpages/brew.1.md.erb
+++ b/Library/Homebrew/manpages/brew.1.md.erb
@@ -50,13 +50,6 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note
<%= commands.join("\n") %>
- * `--repository`:
- Display where Homebrew's `.git` directory is located. For standard installs,
- the `prefix` and `repository` are the same directory.
-
- * `--repository` <user>`/`<repo>:
- Display where tap <user>`/`<repo>'s directory is located.
-
* `--version`:
Print the version number of brew to standard error and exit.