April 12, 2005
The attached patch enables the following syntax to query version information from DMD and DMD-script via "dmd -v".

Thomas



May 07, 2005
Thomas Kuehne wrote:

> The attached patch enables the following syntax to query version
> information from DMD and DMD-script via "dmd -v".

This could probably be modified into displaying some kind
of banner, when called without files, just like DMD does:

GNU D Compiler v0.11
Copyright (c) 1987-2005 by Free Software Foundation written by David Friedman
Documentation: http://www.digitalmars.com/d/
Usage:
  dmd files.d ... { -switch }

  files.d        D source files
  -c             do not link
[blah blah blah]
  -w             enable warnings

Even it is now to be called "gdmd", it would probably
make users of "dmd" feel more at home with the wrapper ?


Even nicer would be for Walter to release the documentation,
but that can probably wait until D 1.0 (in the worst case).

Probably need to write new docs for GDC anyway... (tailored)
Would be kinda hard to do without using the D spec, though ?

--anders