[Issue 5316] std.getopt with associative arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 3 09:29:04 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5316



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-03 09:29:02 PDT ---
(In reply to comment #2)
> P.S. currently getopt bails badly on hashes:
> 
> -----
> import std.getopt;
> 
> void main(string[] args)
> {
>     int[string] tune;
>     getopt(args, &tune, "tune");
> }
> -----

Actually nevermind, the text argument should come before the address, but this
is another area of improvement. I'll open another bug report for this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list