Casey <[EMAIL PROTECTED]> writes: > Well, it is a hack and certainly not as clean as having getopt or > optparse handle this natively (which I believe they should).
I believe they shouldn't because the established interface is that a hyphen always introduced an option unless (for those programs that support it) a '--' option is used, as discussed. > But I think it is a simple and clever hack and still allows getopt > or optparse to function normally. Except that they *don't* function normally under that hack; they function in a way contradictory to the normal way. > So I wouldn't call it a kludge, which implies a more clumsy hack. As > you say, it is all a matter of perspective. Everyone is entitled to their own perspective, but not to their own facts. -- \ "[...] a Microsoft Certified System Engineer is to information | `\ technology as a McDonalds Certified Food Specialist is to the | _o__) culinary arts." —Michael Bacarella | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list