aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/create.rb
diff options
context:
space:
mode:
authorDave Cottlehuber2014-06-02 22:30:22 +0200
committerAdam Vandenberg2014-06-03 20:17:45 -0700
commitbd0533448718bbf323e58070fc711d662c54b855 (patch)
tree9e322f9332c6ac5b19b1af7e85b8cba0a746a07d /Library/Homebrew/cmd/create.rb
parent68f27922bca5888d1003dcd736621657316d8a9e (diff)
downloadbrew-bd0533448718bbf323e58070fc711d662c54b855.tar.bz2
test: improve docs for when using HEAD or similar flags
Closes Homebrew/homebrew#29791. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/create.rb')
-rw-r--r--Library/Homebrew/cmd/create.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index 04ebe5d2e..84697b830 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -165,7 +165,8 @@ class FormulaCreator
#
# This test will fail and we won't accept that! It's enough to just replace
# "false" with the main program this formula installs, but it'd be nice if you
- # were more thorough. Run the test with `brew test #{name}`.
+ # were more thorough. Run the test with `brew test #{name}`. Options passed
+ # to `brew install` such as `--HEAD` also need to be provided to `brew test`.
#
# The installed folder is not in the path, so use the entire path to any
# executables being tested: `system "\#{bin}/program", "do", "something"`.