[Issue 15245] New: tools do not support --version flag properly

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 25 05:19:03 PDT 2015


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: nobody at puremagic.com
          Reporter: joseph.wakeling at webdrake.net

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.

--


More information about the Digitalmars-d-bugs mailing list