Skip to content

Commit 1b2ff9f

Browse files
Include the --prompt flag in venv's help output (GH-10711)
Document usage of the existing `--prompt` option in the command line help. (cherry picked from commit 3208880) Co-authored-by: Holger Frey <[email protected]>
1 parent 22bfe63 commit 1b2ff9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/using/venv-create.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ your :ref:`Python installation <using-on-windows>`::
3535
The command, if run with ``-h``, will show the available options::
3636
3737
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
38-
[--upgrade] [--without-pip]
38+
[--upgrade] [--without-pip] [--prompt PROMPT]
3939
ENV_DIR [ENV_DIR ...]
4040
4141
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::
5858
of Python, assuming Python has been upgraded in-place.
5959
--without-pip Skips installing or upgrading pip in the virtual
6060
environment (pip is bootstrapped by default)
61+
--prompt PROMPT Provides an alternative prompt prefix for this
62+
environment.
6163
6264
Once an environment has been created, you may wish to activate it, e.g. by
6365
sourcing an activate script in its bin directory.

0 commit comments

Comments
 (0)