[issue7202] "python setup.py MYCOMMAND --verbose" does not yield an unrecognized option error but also does not set the verbosity
Zooko O'Whielacronx
report at bugs.python.org
Sun Oct 25 15:37:09 CET 2009
New submission from Zooko O'Whielacronx <zooko at zooko.com>:
This command:
python setup.py --verbose darcsver
works as expected -- the presence of '--verbose' increases the verbosity
of logging.
This command:
python setup.py darcsver --verbose
does not increase the verbosity, nor does it tell me that the
"--verbose" option is an option unknown to the "darcsver" command.
This command:
python setup.py darcsver --quux
gives this helpful output:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or:
setup.py cmd --help
error: option --quux not recognized
I think that the middle command ("python setup.py darcsver --verbose")
ought to behave either like the first command by increasing the
verbosity, or like the last command by telling the user that "--verbose"
is not a known option in that position.
This is also http://bitbucket.org/tarek/distribute/issue/78/
----------
assignee: tarek
components: Distutils
messages: 94453
nosy: tarek, zooko
severity: normal
status: open
title: "python setup.py MYCOMMAND --verbose" does not yield an unrecognized option error but also does not set the verbosity
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7202>
_______________________________________
More information about the Python-bugs-list
mailing list