You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some unix coders are used to freely intermixing optionals and positionals. optparse, which argparse is supposed to replace, parses all of the optionals, and puts everything else in an extras array. This is like parseKnownArgs but with freer intermixing.
A proposed solution is to write a parser.parseIntermixedArgs that does a 2 step parse, first parse the input with only the conditionals arguments, and then parse the extras with the positionals.
The text was updated successfully, but these errors were encountered:
Python issue http://bugs.python.org/issue14191
Some unix coders are used to freely intermixing optionals and positionals.
optparse
, whichargparse
is supposed to replace, parses all of the optionals, and puts everything else in anextras
array. This is likeparseKnownArgs
but with freer intermixing.A proposed solution is to write a
parser.parseIntermixedArgs
that does a 2 step parse, first parse the input with only the conditionals arguments, and then parse theextras
with the positionals.The text was updated successfully, but these errors were encountered: