-
Petrik authored
When running `bin/rails -h` the following messages is shown: > All commands can be run with -h (or --help) for more information. This doesn't apply to the commands that are Rake tasks like db:migrate. If you run `bin/rails db:migrate -h` you'll get the Rake help, which can be confusing... Instead, if we replace the `-h` argument with `--describe db:migrate` Rails outputs the Rake task descriptions, which are a lot more helpful: rails db:migrate Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog). Co-authored-by:
Jonathan Hefner <jonathan@hefner.pro>
Petrik authoredWhen running `bin/rails -h` the following messages is shown: > All commands can be run with -h (or --help) for more information. This doesn't apply to the commands that are Rake tasks like db:migrate. If you run `bin/rails db:migrate -h` you'll get the Rake help, which can be confusing... Instead, if we replace the `-h` argument with `--describe db:migrate` Rails outputs the Rake task descriptions, which are a lot more helpful: rails db:migrate Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog). Co-authored-by:
Jonathan Hefner <jonathan@hefner.pro>
Loading