aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/bottle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/dev-cmd/bottle.rb')
-rw-r--r--Library/Homebrew/dev-cmd/bottle.rb26
1 files changed, 24 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb
index 91bdcba93..619986f76 100644
--- a/Library/Homebrew/dev-cmd/bottle.rb
+++ b/Library/Homebrew/dev-cmd/bottle.rb
@@ -1,7 +1,29 @@
-#: * `bottle` [`--verbose`] [`--no-rebuild`] [`--keep-old`] [`--skip-relocation`] [`--root-url=`<URL>] [`--force-core-tap`]:
-#: * `bottle` `--merge` [`--no-commit`] [`--keep-old`] [`--write`]:
+#: * `bottle` [`--verbose`] [`--no-rebuild`|`--keep-old`] [`--skip-relocation`] [`--root-url=`<URL>] [`--force-core-tap`] <formulae>:
#: Generate a bottle (binary package) from a formula installed with
#: `--build-bottle`.
+#:
+#: If the formula specifies a rebuild version, it will be incremented in the
+#: generated DSL. Passing `--keep-old` will attempt to keep it at its
+#: original value, while `--no-rebuild` will remove it.
+#:
+#: If `--verbose` is passed, print the bottling commands and any warnings
+#: encountered.
+#:
+#: If `--skip-relocation` is passed, do not check if the bottle can be marked
+#: as relocatable.
+#:
+#: If `--root-url` is passed, use the specified <URL> as the root of the
+#: bottle's URL instead of Homebrew's default.
+#:
+#: If `--force-core-tap` is passed, build a bottle even if <formula> is not
+#: in homebrew/core or any installed taps.
+#:
+#: * `bottle` `--merge` [`--keep-old`] [`--write` [`--no-commit`]] <formulae>:
+#: Generate a bottle from a formula and print the new DSL merged into the
+#: existing formula.
+#:
+#: If `--write` is passed, write the changes to the formula file. A new
+#: commit will then be generated unless `--no-commit` is passed.
require "formula"
require "utils/bottles"