www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15245] New: tools do not support --version flag properly

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 puremagic.com
          Reporter: joseph.wakeling 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.

--
Oct 25 2015