diff options
| author | Adam Vandenberg | 2013-12-15 19:42:08 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-15 19:42:08 -0800 |
| commit | 6aa227711959e2d36c996f37444bbb9756122ce0 (patch) | |
| tree | 65a6e849e726a3280ae375b888486381a5a03cc0 /Library/Homebrew/cmd/options.rb | |
| parent | 2635817ca8ddde76d09e66bcad62213176c0601d (diff) | |
| download | brew-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.rb | 8 |
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 |
