aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/irb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/irb.rb b/Library/Homebrew/cmd/irb.rb
index 32a3bfc6d..b7832c492 100644
--- a/Library/Homebrew/cmd/irb.rb
+++ b/Library/Homebrew/cmd/irb.rb
@@ -15,14 +15,14 @@ end
module Homebrew
def irb
- if ARGV.include? "--help"
+ if ARGV.include? "--examples"
puts "'v8'.f # => instance of the v8 formula"
puts ":hub.f.installed?"
puts ":lua.f.methods - 1.methods"
puts ":mpd.f.recursive_dependencies.reject(&:installed?)"
else
ohai "Interactive Homebrew Shell"
- puts "Example commands available with: brew irb --help"
+ puts "Example commands available with: brew irb --examples"
IRB.start
end
end