]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Include the --prompt flag in venv's help output (GH-10711)
authorHolger Frey <socials@holgerfrey.de>
Fri, 22 Feb 2019 11:05:20 +0000 (12:05 +0100)
committerCheryl Sabella <cheryl.sabella@gmail.com>
Fri, 22 Feb 2019 11:05:20 +0000 (06:05 -0500)
Document usage of the existing `--prompt` option in the command line help.

Doc/using/venv-create.inc

index 1ba538bec48b753b2c89ef989e1d62c63bff0749..1ada83c07a67f15032a8db8a106677a69d434063 100644 (file)
@@ -35,7 +35,7 @@ your :ref:`Python installation <using-on-windows>`::
 The command, if run with ``-h``, will show the available options::
 
     usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
-                [--upgrade] [--without-pip]
+                [--upgrade] [--without-pip] [--prompt PROMPT]
                 ENV_DIR [ENV_DIR ...]
 
     Creates virtual Python environments in one or more target directories.
@@ -58,6 +58,8 @@ The command, if run with ``-h``, will show the available options::
                             of Python, assuming Python has been upgraded in-place.
       --without-pip         Skips installing or upgrading pip in the virtual
                             environment (pip is bootstrapped by default)
+      --prompt PROMPT       Provides an alternative prompt prefix for this
+                            environment.
 
     Once an environment has been created, you may wish to activate it, e.g. by
     sourcing an activate script in its bin directory.