aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-29 09:24:38 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd19c06c5d089e38ce6e2535ef63c6721ca14f8a0 (patch)
tree99e8d5b5ddb6f2430c8d1cf0e42d8a575853a98a
parentc0d085751fa5ad25ee405907492441e913fc250a (diff)
downloadbrew-d19c06c5d089e38ce6e2535ef63c6721ca14f8a0.tar.bz2
Document external commands a bit
-rw-r--r--Library/Contributions/manpages/brew.1.md8
-rw-r--r--share/man/man1/brew.16
2 files changed, 14 insertions, 0 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 9fbe1d02f..7312afb2d 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -157,6 +157,14 @@ didn't include with OS X.
* `audit`:
Checks all formulae for Homebrew coding style violations.
+## EXTERNAL COMMANDS
+
+Homebrew allows external commands to be defined by putting a +x file named
+`brew-<cmdname>` or `brew-<cmdname>.rb` on the PATH. This will cause Homebrew
+to recognize `brew cmdname`.
+
+Some external commands are shipped with Homebrew, and enabled by default.
+
## ENVIRONMENT
* HOMEBREW\_DEBUG:
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 2157a85a1..e78d62dfa 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -172,6 +172,12 @@ Downloads the tarball or checks out from VCS for the given \fIformula\fR\. For t
\fBaudit\fR
Checks all formulae for Homebrew coding style violations\.
.
+.SH "EXTERNAL COMMANDS"
+Homebrew allows external commands to be defined by putting a +x file named \fBbrew\-<cmdname>\fR or \fBbrew\-<cmdname>\.rb\fR on the PATH\. This will cause Homebrew to recognize \fBbrew cmdname\fR\.
+.
+.P
+Some external commands are shipped with Homebrew, and enabled by default\.
+.
.SH "ENVIRONMENT"
.
.TP