aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
authorMax Nordlund2016-04-08 16:28:43 +0200
committerMartin Afanasjew2016-04-10 22:59:25 +0200
commitfa1fd70a37c4ab843cb3d61c4301e44828c7b5ec (patch)
treec96f4a8b24e229fe6624c6a3a5cb4e6d593a0c85 /Library/Homebrew/cmd/info.rb
parentb21f699ff2f1691c4f10422c640a9d392cf2d7a7 (diff)
downloadbrew-fa1fd70a37c4ab843cb3d61c4301e44828c7b5ec.tar.bz2
Add all the top level comments
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index fb31c0a94..ad68dc8f4 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -1,3 +1,21 @@
+#: * `info` <formula>:
+#: Display information about <formula>.
+#:
+#: * `info` `--github` <formula>:
+#: Open a browser to the GitHub History page for formula <formula>.
+#:
+#: To view formula history locally: `brew log -p <formula>`.
+#:
+#: * `info` `--json=`<version> (`--all`|`--installed`|<formulae>):
+#: Print a JSON representation of <formulae>. Currently the only accepted value
+#: for <version> is `v1`.
+#:
+#: Pass `--all` to get information on all formulae, or `--installed` to get
+#: information on all installed formulae.
+#:
+#: See the docs for examples of using the JSON:
+#: <https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Querying-Brew.md>
+
require "blacklist"
require "caveats"
require "options"