[Issue 2993] getops uses globals for formatting

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Nov 3 12:38:46 PST 2015


https://issues.dlang.org/show_bug.cgi?id=2993

--- Comment #6 from hsteoh at quickfur.ath.cx ---
More complex programs may employ dispatch from the main program to subprograms
that do option parsing on their own. (I've written such programs before.) But
this is a rare use case, and even then I still don't see the use of globals in
getopt() being an actual problem, so I agree with you that we can probably
leave this bug closed.

I just disagree that it's "vague". :-)

--


More information about the Digitalmars-d-bugs mailing list