From e4e3319cd0ffd158cdc00b132ee9844dcb19b4f3 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 7 Nov 2010 07:36:34 -0800 Subject: Update man page Move all documented "external commands" up with the resto f the commands, as these will all be built-in commands after the next code re-org. --- Library/Contributions/manpages/brew.1.md | 78 +++++++++++++++++--------------- 1 file changed, 42 insertions(+), 36 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 742495d3e..36e774c71 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -65,7 +65,7 @@ didn't include with OS X. Search for on the MacPorts or Fink package search page. * `update`: - Using `git`(1), fetch the newest version of Homebrew from GitHub. + Fetch the newest version of Homebrew from GitHub using `git`(1). * `list`: List all installed formulae. @@ -74,11 +74,13 @@ didn't include with OS X. List the installed files for . * `info` : - Give all available information for . + Display information about . * `info --github` : Open a browser to the GitHub History page for formula . + To view formula history locally: `brew log -p `. + * `info` : Print the name and version that will be detected for . @@ -92,7 +94,7 @@ didn't include with OS X. Uninstall . If `--force` is passed, and there are multiple versions of - installed, deletes all installed versions. + installed, delete all installed versions. * `create [--cache]` : Generate a formula for the downloadable file at and opens it in @@ -162,6 +164,34 @@ didn't include with OS X. If `--force` is passed, remove a previously cached version and re-fetch. + * `audit [--warn]`: + Check formulae for Homebrew coding style violations. This should be + run before submitting a new formula for inclusion. + + If `--warn` is passed, perform additional stricter checks that may not need + to be fixed before submitting. + + * `options` : + Display install options specific to . + + * `missing`: + Check all installed formuale for missing dependencies. + + * `server`: + Start a local web app that lets you browse available formulae, similar + to `gem server`. Requires [`sinatra`][sinatra]. + + * `test` : + A few formulae provide a test method. `brew test ` runs this + test method. There is no standard output or return code, but it should + generally indicate to the user if something is wrong with the installed + formula. + + Example: `brew install jruby && brew test jruby` + + * `man`: + Regenerate this man page using [`ronn`][ronn]. See `man brew-man` for details. + * `--config`: Show Homebrew and system configuration useful for debugging. If you file a bug report, you will likely be asked for this information if you do not @@ -196,41 +226,10 @@ Homebrew allows external commands to be defined by putting a +x file named `brew-` or `brew-.rb` on the PATH. This will cause Homebrew to recognize `brew cmdname`. -These external commands are shipped with Homebrew. - - * `audit [--warn]`: - Check all formulae for Homebrew coding style violations. This should be - run before submitting a new formula for inclusion. - - If `--warn` is passed, perform additional stricter checks that may not need - to be fixed before submitting. - - * `options` : - Display install options specific to . +Some sample commands ship with Homebrew and are enabled by default. - * `man`: - Regenerate this man page using [`ronn`][ronn]. See `man brew-man` for details. + $ ls `brew --repository`/Lirary/Contributes/examples - * `missing`: - Check all installed formuale for missing dependencies. - - * `server`: - Start a local web app that lets you browse available formulae, similar - to `gem server`. Requires [`sinatra`][sinatra]. - - * `test` : - A few formulae provide a test method. `brew test ` runs this - test method. There is no standard output or return code, but it should - generally indicate to the user if something is wrong with the installed - formula. - - Example: `brew install jruby && brew test jruby` - -[ronn]: http://rtomayko.github.com/ronn/ - "Ronn" - -[sinatra]: http://www.sinatrarb.com/ - "Sinatra" ## ENVIRONMENT @@ -314,3 +313,10 @@ Max Howell, a splendid chap. ## BUGS See Issues on GitHub: + + +[ronn]: http://rtomayko.github.com/ronn/ + "Ronn" + +[sinatra]: http://www.sinatrarb.com/ + "Sinatra" -- cgit v1.2.3