[Patches] [ python-Patches-454790 ] Have getopt handle optional short args
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 19 Sep 2001 10:55:45 -0700
Patches item #454790, was opened at 2001-08-23 17:26
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=454790&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Jones (richard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Have getopt handle optional short args
Initial Comment:
The GNU getopt implementation allows optional args to
short arguments - two colons mean an option takes an
optional arg; if there is text in the current
argv-element, it is returned in optarg, otherwise
optarg is set to zero. The attached patch implements
this behaviour.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2001-09-19 10:55
Message:
Logged In: YES
user_id=21627
Adding this feature sounds like a good thing. A shallow
review of the patch reveals two major problems with it,
though: no patches to the documentation, no patches to
test_getopt.
Would you consider providing these missing pieces?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=454790&group_id=5470