Corrected hyperlink address in help manual -h, -c option by removing the unnecessary bracket. (#45989)

* Corrected hyperlink address by removing the unneccesary bracket

* Update railties/lib/rails/generators/rails/app/app_generator.rb

This correction should work regardless of which hyperlink parser or terminal being used.

Co-authored-by: Rafael Mendonça França <rafael@franca.dev>

Co-authored-by: Rafael Mendonça França <rafael@franca.dev>
This commit is contained in:
Oscar Romero 2022-09-09 18:15:06 -04:00 committed by GitHub
parent 977868b338
commit d80e619385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -17,3 +17,6 @@ pkg/
/tmp/
/yarn-error.log
/test-reports/
# local plugin
.history/

View File

@ -264,7 +264,7 @@ module Rails
class_option :api, type: :boolean, desc: "Preconfigure smaller stack for API only apps"
class_option :minimal, type: :boolean, desc: "Preconfigure a minimal rails app"
class_option :javascript, type: :string, aliases: ["-j", "--js"], default: "importmap", desc: "Choose JavaScript approach [options: importmap (default), webpack, esbuild, rollup]"
class_option :css, type: :string, aliases: "-c", desc: "Choose CSS processor [options: tailwind, bootstrap, bulma, postcss, sass... check https://github.com/rails/cssbundling-rails]"
class_option :css, type: :string, aliases: "-c", desc: "Choose CSS processor [options: tailwind, bootstrap, bulma, postcss, sass] check https://github.com/rails/cssbundling-rails for more options"
class_option :skip_bundle, type: :boolean, aliases: "-B", default: nil, desc: "Don't run bundle install"
class_option :skip_decrypted_diffs, type: :boolean, default: nil, desc: "Don't configure git to show decrypted diffs of encrypted credentials"