Fix typos and improve documentation in CLI guide

This commit is contained in:
Vinayaka K C 2025-08-11 00:37:16 +05:30
parent 85c5d93cbd
commit b0c1443a68

View file

@ -3,10 +3,10 @@
Command Line Interface Command Line Interface
====================== ======================
Installing Flask installs the ``flask`` script, a `Click`_ command line When you install Flask, it adds the ``flask`` command-line script (built with `Click`_) to your virtual environment.
interface, in your virtualenv. Executed from the terminal, this script gives You can run this script from the terminal to access built-in, extension, and application-defined commands.
access to built-in, extension, and application-defined commands. The ``--help`` The ``--help`` option will give more information about any commands and options.
option will give more information about any commands and options.
.. _Click: https://click.palletsprojects.com/ .. _Click: https://click.palletsprojects.com/
@ -80,10 +80,11 @@ replaces the :meth:`Flask.run` method in most cases. ::
is provided for convenience, but is not designed to be particularly secure, is provided for convenience, but is not designed to be particularly secure,
stable, or efficient. See :doc:`/deploying/index` for how to run in production. stable, or efficient. See :doc:`/deploying/index` for how to run in production.
If another program is already using port 5000, you'll see If another program is already using port 5000, you might see
``OSError: [Errno 98]`` or ``OSError: [WinError 10013]`` when the ``OSError: [Errno 98]`` or ``OSError: [WinError 10013]`` when the
server tries to start. See :ref:`address-already-in-use` for how to server tries to start. See :ref:`address-already-in-use` for instructions on how to
handle that. handle this issue.
Debug Mode Debug Mode