July 12, 2014
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)

--