flask icon indicating copy to clipboard operation
flask copied to clipboard

Default help messages for Flask CLI use inconsistent tenses (in English)

Open oddbury opened this issue 8 years ago • 5 comments

Expected Behavior

Help texts for commands (and options) should consistently use either the imperative or present tense, not a mixture of both. This has no impact on the functional behaviours of the CLI, just a minor UX error.

Actual Behavior

Executing flask --help gives:

[... snip ...]

Options:
  --version  Show the flask version
  --help     Show this message and exit.

Commands:
  routes           Show the routes for the app.
  run              Runs a development server.
  shell            Runs a shell in the app context.

Note that run and shell are using present tense whereas routes, --version and --help are using the imperative.

Environment

  • Python version: 3.7.0
  • Flask version: 1.0.2
  • Werkzeug version: 0.14.1

oddbury avatar Nov 28 '18 01:11 oddbury

@davidism I can help to update this if necessary, which tense should we use?

greyli avatar Nov 30 '18 03:11 greyli

"Run a development server."

davidism avatar Nov 30 '18 03:11 davidism

@davidism Does this still need work?

GrugLife avatar Dec 05 '18 14:12 GrugLife

There is a PR linked above your comment. There are other issues though. :-)

davidism avatar Dec 05 '18 14:12 davidism

Derp on my part. I'll work on #3011

GrugLife avatar Dec 05 '18 15:12 GrugLife