Issue 5648 - dmd command line option list inconsistencies
Summary: dmd command line option list inconsistencies
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 20:22 UTC by Ali Cehreli
Modified: 2012-01-20 18:41 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ali Cehreli 2011-02-23 20:22:39 UTC
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 Lars T. Kyllingstad 2011-02-24 05:08:28 UTC
-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 Ali Cehreli 2011-02-24 06:43:23 UTC
My mistake: I was wrong about -X and -Xffilename.
Comment 4 github-bugzilla 2012-01-20 18:40:37 UTC
Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/8c75084dfe9f4120ba6b8756081f6e2c5e2346d9
Issue 5648 - dmd command line option list inconsistencies
Comment 5 github-bugzilla 2012-01-20 18:40:55 UTC
Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/9e3cc63cf01311477e57eb873c8a9c58c4fde027
Issue 5648 - dmd command line option list inconsistencies