digitalmars.D.bugs - [Issue 12765] New: dmd needs a "--version" option like gdc
- via Digitalmars-d-bugs (23/23) May 18 2014 https://issues.dlang.org/show_...
https://issues.dlang.org/show_bug.cgi?id=12765 Issue ID: 12765 Summary: dmd needs a "--version" option like gdc Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: tombrowder acm.org Currently the only way to query the installed version of dmd is to execute "dmd" with no options (or "dmd --help") and backup to see the version listed at the beginning of 68 help lines sent to stdout. A "--version" option would be helpful for, among other things, scripting compiler usage. Such an option should result in just the official version information sent to stdout, e.g., $ dmd --version DMD64 D Compiler v2.065 Copyright (c) 1999-2013 by Digital Mars written by Walter Bright --
May 18 2014