Bug 15446 – Update DMD's man page

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2015-12-15T03:55:00Z
Last change time
2016-04-08T20:55:14Z
Assigned to
nobody
Creator
samjnaa

Comments

Comment #0 by samjnaa — 2015-12-15T03:55:09Z
I'm using DMD 2.0.69.2 on Kubuntu Trusty 64 bit. The man page (displayed by `man dmd`) seems to be seriously out of date compared to the actual functionality. I'm not sure what is the equation of the actual functionality to the online documentation, but it is clear that at least the man page is outdated w.r.t. the online documentation. For instance, `man dmd | grep main` produces nothing, whereas http://dlang.org/dmd-linux.html#switches describes the -main switch. Please update the man page (and the online doc if necessary) to reflect the actual functionality. Thanks.
Comment #1 by samjnaa — 2015-12-15T04:01:54Z
One important point in updating: Currently the documentation for -o- says that it suppresses output of object files, but this is misleading, since it actually suppresses all binary output and not just that of object files which are IIUC commonly understood to be .o files. See https://issues.dlang.org/show_bug.cgi?id=15447 and http://forum.dlang.org/post/[email protected]. So that's one wording which needs to be corrected in both the online doc and man page. Thanks again.
Comment #2 by mathias.lang — 2016-04-08T20:55:14Z
*** This issue has been marked as a duplicate of issue 14475 ***