Skip to content
Myr

Merge pull request #3011 from greyli/improve-cli-help-text

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Use imperative tense for CLI help text

authored by David Lord · committed by GitHub · parents 15c079f, d0ceb16 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:flask/cli.py+3 added-3 removed
722 unmodified lines
723724 return value725726727@click.command('run', short_help='Runs a development server.')727@click.command('run', short_help='Run a development server.')728@click.option('--host', '-h', default='127.0.0.1',729 help='The interface to bind to.')730@click.option('--port', '-p', default=5000,731 help='The port to bind to.')
43 unmodified lines
775 run_simple(host, port, app, use_reloader=reload, use_debugger=debugger,776 threaded=with_threads, ssl_context=cert)777778779@click.command('shell', short_help='Runs a shell in the app context.')779@click.command('shell', short_help='Run a shell in the app context.')780@with_appcontext781def shell_command():782 """Runs an interactive Python shell in the context of a given782 """Run an interactive Python shell in the context of a given783 Flask application. The application will populate the default784 namespace of this shell according to it's configuration.785786 This is useful for executing small snippets of management code
117 unmodified lines