Permalink
Browse files

Merge pull request #263 from CvX/master

Corrected dbconsole usage message
  • Loading branch information...
2 parents b011a7a + 4e873ff commit 9cc18c52faeebaad6a76bd62cdca1c6b9f96afed @josevalim josevalim committed May 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands/dbconsole.rb
@@ -23,7 +23,7 @@ def start
include_password = false
options = {}
OptionParser.new do |opt|
- opt.banner = "Usage: dbconsole [options] [environment]"
+ opt.banner = "Usage: dbconsole [environment] [options]"
opt.on("-p", "--include-password", "Automatically provide the password from database.yml") do |v|
include_password = true
end

0 comments on commit 9cc18c5

Please sign in to comment.