aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/options.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-12-15 19:42:08 -0800
committerAdam Vandenberg2013-12-15 19:42:08 -0800
commit2e3db0d0b8e2fa6775c77052145fe9f51cad5705 (patch)
tree06d5570328185e5e150c8bb741177c51f4f602c8 /Library/Homebrew/cmd/options.rb
parent533b6b5d04bf354d88484c952880e10d79b4cbb4 (diff)
downloadhomebrew-2e3db0d0b8e2fa6775c77052145fe9f51cad5705.tar.bz2
options: show --HEAD and --devel when appropriate
Closes #24680.
Diffstat (limited to 'Library/Homebrew/cmd/options.rb')
-rw-r--r--Library/Homebrew/cmd/options.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb
index 641f9dce1..97f376e44 100644
--- a/Library/Homebrew/cmd/options.rb
+++ b/Library/Homebrew/cmd/options.rb
@@ -30,5 +30,13 @@ module Homebrew extend self
puts opt.flag
puts "\t"+opt.description
end
+ if f.devel
+ puts '--devel'
+ puts "\tinstall development version #{f.devel.version}"
+ end
+ if f.head
+ puts '--HEAD'
+ puts "\tinstall HEAD version"
+ end
end
end