summaryrefslogtreecommitdiffstats
path: root/Doc/using/venv-create.inc
diff options
context:
space:
mode:
authorHolger Frey <socials@holgerfrey.de>2019-02-22 11:05:20 (GMT)
committerCheryl Sabella <cheryl.sabella@gmail.com>2019-02-22 11:05:20 (GMT)
commit3208880f1c72800bacf94a2045fcb0436702c7a1 (patch)
tree38502e4573fe8d560c6ed8f5694637f106fe9952 /Doc/using/venv-create.inc
parent6e240ddd0d06cca5da091144479b7db0637c73da (diff)
downloadcpython-3208880f1c72800bacf94a2045fcb0436702c7a1.zip
cpython-3208880f1c72800bacf94a2045fcb0436702c7a1.tar.gz
cpython-3208880f1c72800bacf94a2045fcb0436702c7a1.tar.bz2
Include the --prompt flag in venv's help output (GH-10711)
Document usage of the existing `--prompt` option in the command line help.
Diffstat (limited to 'Doc/using/venv-create.inc')
-rw-r--r--Doc/using/venv-create.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
index 1ba538b..1ada83c 100644
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -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.