Bug 5599 – Rdmd: Switches after the filename have no effect

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-02-16T13:22:00Z
Last change time
2015-06-09T01:31:16Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2011-02-16T13:22:31Z
module test; void main() { } unittest { assert(0); } rdmd test.d -unittest > Expected behavior is: rdmd -unittest test.d core.exception.AssertError@test(5): unittest failure
Comment #1 by andrei — 2011-02-16T19:32:34Z
This is as expected. Everything after the actual module name is passed to the module itself.
Comment #2 by andrej.mitrovich — 2011-02-16T19:35:25Z
My bad!