[Patches] [ python-Patches-454790 ] Have getopt handle optional short args
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 23 Aug 2001 17:26:19 -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.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=454790&group_id=5470