dmd command line options bad design: -offilename, -Ddocdir etc.

Jacob Carlborg doob at me.com
Thu Apr 11 06:33:35 PDT 2013


On 2013-04-11 12:25, Jonas Drewsen wrote:
> AFAIK most unix tools have two formats: long and short.
>
> long:
> dmd --foobar-dir=/somewhere/over/the/rainbow
>
> short:
> dmd -f /somewhere/over/the/rainbow
>
> Most programs supports both. I think that would be the way to go.

For some reason compilers seem to only use a single dash for all 
formats. That is true for DMD, GCC and Clang.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list