Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Document brew diy in the man page
Browse files Browse the repository at this point in the history
The documentation on this is hard to find, and awareness of the command
itself is pretty low. Which is too bad, because it's really handy and I
use it all the time myself.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel committed Oct 12, 2011
1 parent 28b16de commit def8f46
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Library/Contributions/manpages/brew.1.md
Expand Up @@ -83,6 +83,15 @@ For the full command list, see the COMMANDS section.

If `--all` is passed, show dependencies for all formulae.

* `diy [--set-name] [--set-version]`:
Automatically determine the installation prefix for non-Homebrew software.

Using the output from this command, you can install your own software into
the Cellar and then link it into Homebrew's prefix with `brew link`.

The options `--set-name` and `--set-version` each take an argument and allow
you to explicitly set the name and version of the package you are installing.

* `doctor`:
Check your system for potential problems. Doctor exits with a non-zero status
if any problems are found.
Expand Down
10 changes: 10 additions & 0 deletions share/man/man1/brew.1
Expand Up @@ -94,6 +94,16 @@ If \fB\-n\fR is passed, show dependencies in topological order\.
If \fB\-\-all\fR is passed, show dependencies for all formulae\.
.
.TP
\fBdiy [\-\-set\-name] [\-\-set\-version]\fR
Automatically determine the installation prefix for non\-Homebrew software\.
.
.IP
Using the output from this command, you can install your own software into the Cellar and then link it into Homebrew\'s prefix with \fBbrew link\fR\.
.
.IP
The options \fB\-\-set\-name\fR and \fB\-\-set\-version\fR each take an argument and allow you to explicitly set the name and version of the package you are installing\.
.
.TP
\fBdoctor\fR
Check your system for potential problems\. Doctor exits with a non\-zero status if any problems are found\.
.
Expand Down

0 comments on commit def8f46

Please sign in to comment.