Skip to content

Commit

Permalink
Merge pull request rails#49594 from akhilgkrishnan/rails-new-database…
Browse files Browse the repository at this point in the history
…-desc-consistancy

Add consistent option description for --database on rails new
  • Loading branch information
rafaelfranca committed Oct 12, 2023
2 parents 4c30ca5 + f953178 commit 13722f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/generators/app_base.rb
Expand Up @@ -39,7 +39,7 @@ def self.add_shared_options_for(name)
desc: "Path to some #{name} template (can be a filesystem path or URL)"

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

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

0 comments on commit 13722f2

Please sign in to comment.