homepage

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 wrobell
Recipients wrobell
Date 2012年06月13日.23:15:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339629346.54.0.223771927159.issue15062@psf.upfronthosting.co.za>
In-reply-to
Content
it would be great if argparse allowed to specify options for multiple positional arguments, i.e.
 usage: ascript [-h] [-k value] input [[-k value] input ...] output
then
$ ascript pos1 pos2 -k 1 pos3 -k 2 pos4 pos5 pos6 out
would give 
Namespace(input=[(None, 'pos1'), (None, 'pos2'), ('1', 'pos3'), ('2', 'pos4'), (None, 'pos5'), ('None', 'pos6')], output=['out'])
History
Date User Action Args
2012年06月13日 23:15:46wrobellsetrecipients: + wrobell
2012年06月13日 23:15:46wrobellsetmessageid: <1339629346.54.0.223771927159.issue15062@psf.upfronthosting.co.za>
2012年06月13日 23:15:45wrobelllinkissue15062 messages
2012年06月13日 23:15:45wrobellcreate

AltStyle によって変換されたページ (->オリジナル) /