www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8205] New: Order of dmd '-run' flag is wrong on Mac OS X

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8205

           Summary: Order of dmd '-run' flag is wrong on Mac OS X
           Product: D
           Version: D2
          Platform: All
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: rix0rrr gmail.com



---
According to Walter, the order should be 'dmd FILE -run', but when I do that I
get an error. Writing 'dmd -run FILE' works.

 $ dmd helloworld.d -run
 Error: argument expected for switch '-run'
 $ dmd -run helloworld.d
 hello world
Version:
 DMD64 D Compiler v2.059
-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 07 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8205


klickverbot <code klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code klickverbot.at



---
The command line parsing code is specifically written to parse »dmd
<compile_args> -run file.d <run_args>« – where did Walter (or better, the
docs)
say otherwise?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 07 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8205


Rico Huijbers <rix0rrr gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



---

 The command line parsing code is specifically written to parse »dmd
 <compile_args> -run file.d <run_args>« – where did Walter (or better, the
docs)
 say otherwise?
Didn't read the docs, but I'm following a course by Walter right now and apparently he forgot the correct syntax :). Nevermind then. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 07 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8205


klickverbot <code klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID



---
Changed the resolution, as we didn't actually fix the “bug”.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 07 2012