std.getopt

Mike Wey mike-wey at example.com
Sun Jul 17 09:10:25 PDT 2011


On 07/17/2011 03:49 PM, Jens Mueller wrote:
> That's true. It's only that changing it means breaking code. Though I
> don't believe that there are many scripts out there. But for example dmd
> uses long options without double dashes.
> I'm up to change this hoping it won't break too much code.

One problem with the long options with a single dash is that getopt 
supports bundling. So when enabled does "-timeout" equal "-t -i -m -e -o 
-u -t" or "--timeout" ?

-- 
Mike Wey


More information about the Digitalmars-d mailing list