Thread overview
[Issue 21057] getopt, function setter for a long option receive the key, not the value
Jul 19, 2020
Basile-z
Jul 19, 2020
Basile-z
July 19, 2020
https://issues.dlang.org/show_bug.cgi?id=21057

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
This is blocking some work of me as using a setter is the only* way to translate a string to a enum member that is a D keyword + underscore ;)

--
July 19, 2020
https://issues.dlang.org/show_bug.cgi?id=21057

elpenguino+D@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elpenguino+D@gmail.com

--- Comment #2 from elpenguino+D@gmail.com ---
this behavior matches the documentation. you need to use two arguments to get the value.

--
July 19, 2020
https://issues.dlang.org/show_bug.cgi?id=21057

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Basile-z <b2.temp@gmx.com> ---
Ok.

--