[Python-checkins] cpython (merge 3.5 -> default): Update output of venv -h

berker.peksag python-checkins at python.org
Sat Jan 30 05:17:16 EST 2016


https://hg.python.org/cpython/rev/a4f0d76af176
changeset:   100119:a4f0d76af176
parent:      100117:1261f5f6fc95
parent:      100118:1274cb652395
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sat Jan 30 12:17:29 2016 +0200
summary:
  Update output of venv -h

* Update description of the --system-site-packages option
* Show --copies option in the usage

files:
  Doc/using/venv-create.inc |  9 +++++----
  1 files changed, 5 insertions(+), 4 deletions(-)


diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -29,8 +29,9 @@
 
 The command, if run with ``-h``, will show the available options::
 
-    usage: venv [-h] [--system-site-packages] [--symlinks] [--clear]
-                [--upgrade] [--without-pip] ENV_DIR [ENV_DIR ...]
+    usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
+                [--upgrade] [--without-pip]
+                ENV_DIR [ENV_DIR ...]
 
     Creates virtual Python environments in one or more target directories.
 
@@ -39,8 +40,8 @@
 
     optional arguments:
       -h, --help             show this help message and exit
-      --system-site-packages Give access to the global site-packages dir to the
-                             virtual environment.
+      --system-site-packages Give the virtual environment access to the system
+                             site-packages dir.
       --symlinks             Try to use symlinks rather than copies, when symlinks
                              are not the default for the platform.
       --copies               Try to use copies rather than symlinks, even when

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list