Fixing valid options for std.getopt

Jens Mueller jens.k.mueller at gmx.de
Wed Aug 10 15:27:07 PDT 2011


Andrew Wiley wrote:
> On Tue, Aug 9, 2011 at 6:01 PM, David Nadlinger <see at klickverbot.at> wrote:
> 
> > On 8/10/11 2:57 AM, Jonathan M Davis wrote:
> >
> >> It's _very_ odd for dmd to have flags which are multi-character but only
> >> take
> >> a single -, and I'd argue that that's not behavior which should be
> >> emulated.
> >>
> >
> > I don't know what your definition of odd is, but some counterexamples that
> > immediately come to my mind: GCC, just about every Java VM, LLVM/Clang, …
> >
> > David
> >
> 
> I can't think of an example with GCC. It does things like
> -fdisable-some-option, but I can't think of a multicharacter _flag_.

There are -pg and -pedantic.

Jens


More information about the Digitalmars-d mailing list