new DIP41: dmd/rdmd command line overhaul.

Idan Arye GenericNPC at gmail.com
Tue May 21 08:29:41 PDT 2013


On Tuesday, 21 May 2013 at 09:45:19 UTC, Timothee Cour wrote:
> Abstract:
> This DIP seeks to improve dmd and rdmd's command line flags, to 
> make it
> more self-consistent and consistent with other tools (including 
> other D
> compilers), more expandable, avoid existing corner cases, and 
> better
> interact with other tools such as rdmd. It also proposes new 
> flags and
> proposes a simple deprecation path to follow.
>
> Link:
> http://wiki.dlang.org/DIP41

Regarding your suggestion about run arguments for rdmd - the 
convention is to use `--`:

    dmd main.d src1.d -- myfirstprogramarg

Beside being the convention, it's shorter and easier to type than 
`-args`, and it stands out more.


More information about the Digitalmars-d mailing list