Mailing List Archive

[issue1109659] distutils argument parsing is bogus
Akira Kitada <akitada@gmail.com> added the comment:

Here's the usage of setup.py

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

and '--dry-run' is a global option.
So it looks like valid behavior for me.

----------
nosy: +akitada, tarek

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue1109659>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1109659] distutils argument parsing is bogus [ In reply to ]
Tarek Ziadé <ziade.tarek@gmail.com> added the comment:

yes, that's the expected behavior

*But* we could add a warning, that says that an option was unused.

----------
assignee: -> tarek
priority: normal -> low
type: -> feature request
versions: +Python 2.7, Python 3.1

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue1109659>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com