Skip to content

Commit 13722f2

Browse files
authored
Merge pull request rails#49594 from akhilgkrishnan/rails-new-database-desc-consistancy
Add consistent option description for --database on rails new
2 parents 4c30ca5 + f953178 commit 13722f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/app_base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def self.add_shared_options_for(name)
3939
desc: "Path to some #{name} template (can be a filesystem path or URL)"
4040

4141
class_option :database, type: :string, aliases: "-d", default: "sqlite3",
42-
desc: "Preconfigure for selected database (options: #{DATABASES.join('/')})"
42+
desc: "Preconfigure for selected database [options: #{DATABASES.join(", ")}]"
4343

4444
class_option :skip_git, type: :boolean, aliases: "-G", default: nil,
4545
desc: "Skip git init, .gitignore and .gitattributes"

0 commit comments

Comments
 (0)