Bug 5648 – dmd command line option list inconsistencies
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2011-02-23T20:22:00Z
Last change time
2012-01-20T18:41:34Z
Assigned to
nobody
Creator
acehreli
Comments
Comment #0 by acehreli — 2011-02-23T20:22:39Z
dmd 2.052 on Ubuntu 10.10
There are two ways of listing the command line options:
i) type dmd on the command line
ii) look at page http://www.digitalmars.com/d/2.0/dmd-linux.html
There are three types of inconsistencies:
1) These exist on the dmd output, not on the web page:
-map
-nofloat
2) These exist on the web page, not on the dmd output:
-m32
-m64
-X
-Xffilename
3) The options are sorted differently on the two outputs
Ali
Comment #1 by bugzilla — 2011-02-24T05:08:28Z
-X and -Xffilename do appear in the message printed by dmd 2.052, at the bottom of the list. Are you sure you have the right version? You are right about -m32 and -m64, though.
I'd like to add that the man files are outdated as well. The man page for DMD does not list the following switches:
-map
-noboundscheck
-X
-Xffilename
On the other hand, it lists -safe, which is not in the DMD output.
Comment #2 by acehreli — 2011-02-24T06:43:23Z
My mistake: I was wrong about -X and -Xffilename.
Comment #3 by github-bugzilla — 2012-01-20T18:37:49Z