www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13110] New: Allow -run as last argument

https://issues.dlang.org/show_bug.cgi?id=13110

          Issue ID: 13110
           Summary: Allow -run as last argument
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: lio+bugzilla lunesu.com

Small enhancement request to allow -run as the last argument, without the usual
module name or inferior arguments.

This makes it easy to add "-run" without having to move the first module on the
command line to the end.

dmd a.d b.d c.d
(builds executable a)

dmd a.d b.d c.d -run
(builds and runs)

--
Jul 12 2014