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
commit6aa227711959e2d36c996f37444bbb9756122ce0 (patch)
tree65a6e849e726a3280ae375b888486381a5a03cc0 /Library/Homebrew/cmd/options.rb
parent2635817ca8ddde76d09e66bcad62213176c0601d (diff)
downloadbrew-6aa227711959e2d36c996f37444bbb9756122ce0.tar.bz2
options: show --HEAD and --devel when appropriate
Closes Homebrew/homebrew#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