https://issues.dlang.org/show_bug.cgi?id=15245
Issue ID: 15245
Summary: tools do not support --version flag properly
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: tools
Assignee: [email protected]
Reporter: [email protected]
None of the D tools adequately supports the version flag:
(1) rdmd supports the --version flag but gives only the day of build (e.g.
20151025) rather than the actual version tag;
(2) catdoc, changed, dget, dustmite and tolf all exit with an uncaught
exception;
(3) ddmangle reports an unrecognized option and prints help.
Since the tools repository is subject to similar version tagging to dmd,
druntime and phobos, it would seem appropriate that the tools support a
--version flag with similar output to dmd --version.
--