obsolete D libraries/modules

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Sep 3 12:00:34 PDT 2013

On 9/3/13, Jacob Carlborg <doob at me.com> wrote:
> On 2013-09-03 18:43, Andrej Mitrovic wrote:
>> getopt(args,
>>      "count", &count, @doc("This is the thread count"));
> That's a lot better, but it still needs to match the help text to the flag.

Ah, maybe @doc("count", "This is the thread count") ? Then you could
inject it at any place. There's lots of playground here with UDAs.

More information about the Digitalmars-d mailing list