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 eric.araujo
Recipients docs@python, eric.araujo, eric.smith, gray_hemp
Date 2010-07-06.20:33:51
SpamBayes Score 0.015947735
Marked as misclassified No
Message-id <1278448434.78.0.706047220029.issue9182@psf.upfronthosting.co.za>
In-reply-to
Content
I was suggesting a doc bug only if the current doc didn’t advertise clearly this way of combining nargs with positional arguments. Using “--” is most certainly standard and right, 

Using “--” to explicitly signal positional arguments is most certainly right and standard, but people have to read about that for the first time somewhere. In a perfect world, that would be in their shell’s man page, but better add a word about it in the reference. The “--” marker is actually mentioned in one section: http://docs.python.org/dev/library/argparse#arguments-containing

I’m reopening, suggesting that a line be added to explain the standard “--” separator for use cases like Sergey’s.
History
Date User Action Args
2010-07-06 20:33:54eric.araujosetrecipients: + eric.araujo, eric.smith, docs@python, gray_hemp
2010-07-06 20:33:54eric.araujosetmessageid: <1278448434.78.0.706047220029.issue9182@psf.upfronthosting.co.za>
2010-07-06 20:33:52eric.araujolinkissue9182 messages
2010-07-06 20:33:52eric.araujocreate