[Issue 12765] New: dmd needs a "--version" option like gdc
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun May 18 09:21:10 PDT 2014
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 at puremagic.com
Reporter: tombrowder at 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
--
More information about the Digitalmars-d-bugs
mailing list