New submission from Raúl Cumplido:

Currently when you execute pyvenv the help message is wrong:

host@~  $ pyvenv
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
            [--upgrade] [--without-pip]
            ENV_DIR [ENV_DIR ...]
venv: error: the following arguments are required: ENV_DIR

Based on the docs on https://docs.python.org/3/library/venv.html it should be:

host@~  $ pyvenv
usage: pyvenv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
              [--upgrade] [--without-pip]
              ENV_DIR [ENV_DIR ...]
pyvenv: error: the following arguments are required: ENV_DIR

Basically instead of saying usage venv it should say usage pyvenv but if you 
execute the module it should be venv:

host@~  $ python3.5 -m venv
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
            [--upgrade] [--without-pip]
            ENV_DIR [ENV_DIR ...]
venv: error: the following arguments are required: ENV_DIR

----------
components: Library (Lib)
messages: 235094
nosy: raulcd
priority: normal
severity: normal
status: open
title: pyvenv help shows incorrect usage
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23357>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to