This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doughellmann
Recipients bethard, doughellmann, ted.turocy
Date 2010-08-01.14:05:39
SpamBayes Score 0.0015644945
Marked as misclassified No
Message-id <1280671541.97.0.548694820506.issue9444@psf.upfronthosting.co.za>
In-reply-to
Content
I was actually surprised that prefix_chars didn't allow *any* of those characters to indicate an option.  For example, a program on Unix might use options that start with '-', but also support '/' as a prefix under Windows.  If that's the intended behavior, that's OK, and maybe the docs can be made more specific.

It does, however, open the question of how to pick the prefix to use for automatically-generated options.  Maybe the current behavior is best after all, so the programmer disabling the '-' prefix character realizes they need to handle the help and version options explicitly.
History
Date User Action Args
2010-08-01 14:05:42doughellmannsetrecipients: + doughellmann, bethard, ted.turocy
2010-08-01 14:05:41doughellmannsetmessageid: <1280671541.97.0.548694820506.issue9444@psf.upfronthosting.co.za>
2010-08-01 14:05:40doughellmannlinkissue9444 messages
2010-08-01 14:05:39doughellmanncreate