getopt & single-letter options with parameters

SK sk at metrokings.com
Sat Aug 7 17:36:15 PDT 2010



On Aug 7, 2010, at 4:22 PM, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org 
 > wrote:

>>
>>
>>
>>
>>
>>
>>
>>
>>
>
> It's by design in order to avoid confusion with parameterless  
> options. Your example works with either of these invocations:
>
> ./prog -ofilename
> ./prog -o=filename
> ./prog --o=filename
>
> but not others.
>
>
> Andrei
>


More information about the Digitalmars-d mailing list