diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-23 22:09:36 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-23 22:09:36 -0800 |
commit | e62e6d409986cd5c99234689aa49e3162d7b3a59 (patch) | |
tree | a99108c3e60bb9f44f5f1870d885971de383b9e4 /railties/lib/rails/commands | |
parent | 0088ceb6fac35cd0b0480f153a7c6e8772313037 (diff) | |
download | rails-e62e6d409986cd5c99234689aa49e3162d7b3a59.tar.gz rails-e62e6d409986cd5c99234689aa49e3162d7b3a59.tar.bz2 rails-e62e6d409986cd5c99234689aa49e3162d7b3a59.zip |
Add a dead --irb option mentioning upgrade path
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/console.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/console.rb b/railties/lib/rails/commands/console.rb index 1a40ed92cf..fc22ad64a9 100644 --- a/railties/lib/rails/commands/console.rb +++ b/railties/lib/rails/commands/console.rb @@ -17,6 +17,7 @@ module Rails opt.banner = "Usage: console [environment] [options]" opt.on('-s', '--sandbox', 'Rollback database modifications on exit.') { |v| options[:sandbox] = v } opt.on("--debugger", 'Enable ruby-debugging for the console.') { |v| options[:debugger] = v } + opt.on('--irb') { |v| abort '--irb option is no longer supported. Invoke `/your/choice/of/ruby script/console` instead' } opt.parse!(ARGV) end |