[Issue 11764] [REG2.065a]std.getopt broken
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Dec 18 10:23:59 PST 2013
    
    
  
https://d.puremagic.com/issues/show_bug.cgi?id=11764
--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-12-18 10:23:56 PST ---
(In reply to comment #3)
> This is intentional because arguably the use was incorrectly accepted. The
> commonly used convention is to either use short (single-letter) options with
> single dash, or long options (multi-letter) with double dashes.
> 
> The use '-test' is currently interpreted as "pass argument est to the
> single-letter option -t". 
I think the OPs point however is that the passThrough option should let *you*
handle any unsupported syntax like single-dash long options *after* getopt is
done, hence why it should not split up "-test" (if there's no -t option then it
should arguably not try to split up -test).
-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list