diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-22 00:05:46 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-11-22 00:05:46 +0530 |
commit | 4c872c017b47120b95eb2acf1d3401bd937b0647 (patch) | |
tree | daafe71d122a2ef2c0e484ab4a8a4877db61ef9e /railties/lib/rails/commands | |
parent | 5d704fa152c2f2846b66973cf5572e3120a72792 (diff) | |
download | rails-4c872c017b47120b95eb2acf1d3401bd937b0647.tar.gz rails-4c872c017b47120b95eb2acf1d3401bd937b0647.tar.bz2 rails-4c872c017b47120b95eb2acf1d3401bd937b0647.zip |
Remove the -h option to dbconsole which is the shorter form of --header
This is done since the -h option to dbconsole hides the conventional
-h for help and forces users to use --help to see the usage options for
dbconsole.
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/dbconsole.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/dbconsole.rb b/railties/lib/rails/commands/dbconsole.rb index b0ba76217a..4b0acc9d88 100644 --- a/railties/lib/rails/commands/dbconsole.rb +++ b/railties/lib/rails/commands/dbconsole.rb @@ -33,7 +33,7 @@ module Rails options['mode'] = mode end - opt.on("-h", "--header") do |h| + opt.on("--header") do |h| options['header'] = h end |