Theodore Turocy <drarbi...@gmail.com> added the comment: I was less than clear in what I wrote last night, Doug. What I mean is that the idiom "::foo" for a long argument, instead of the more standard-looking "--foo", appears in the test suite. This suggests to me that the intended behavior for the default help option should be to use a doubled prefix character in front of the long-form option.
For instance, if prefix_chars='+' and add_help=True, then the automatically provided help arguments will be '+h' and '++help'. Certainly, if one explicitly adds an option '//myopt', we would not expect '::myopt' to also be accepted. I'm talking here only about the options that argparse adds as a convenience. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9444> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com