How to recommend a change in a task desc

The output of rails new includes a line that, in my view, could be improved:

-G, [--skip-git], [--no-skip-git]  # Skip .gitignore file

In reality, the option skips the entire git init, not just the .gitignore file.

Is this worth opening an issue or even a PR?

Yes! Improving the docs is always welcome. Please make a PR :slight_smile:

The rails command line options are defined here rails/app_base.rb at main · rails/rails · GitHub

        class_option :skip_git,            type: :boolean, aliases: "-G", default: false,
                                           desc: "Skip .gitignore file"

it’s used here rails/app_generator.rb at 2a98e28a31d3b9a720c4a9571c23b40433a035df · rails/rails · GitHub (searching for skip_git in the GitHub repository)

    def version_control
      if !options[:skip_git] && !options[:pretend]
        run git_init_command, capture: options[:quiet], abort_on_failure: false
      end
    end

And also here rails/app_generator.rb at 2a98e28a31d3b9a720c4a9571c23b40433a035df · rails/rails · GitHub

        unless options[:skip_git]
          build(:gitignore)
          build(:gitattributes)
        end

So --skip-git skips the git init, the .gitignore and the .gitattributes

Made a pull request Updates --skip-git option description to be more accurate by dorianmariefr · Pull Request #44935 · rails/rails · GitHub