www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - reducing dmd help

reply Jesse Phillips <Jesse.K.Phillips+Digitalmars gmail.com> writes:
I think it would be a good idea to reduce the output from just typing dmd.
The list of switches has become become so large that it scrolls the
terminal. I think that when dmd is typed their should just be the most
important information.

* copyright
* usage
* D source file
* -c
* -D
* -d
* --help
* -release
* -v
* -v1
* -w
* -gc

--help could list out the current help. I'm not sure these are the best
choices, but I think simplifying it with the more common ones is a good
idea.
Apr 07 2007
parent reply Georg Wrede <georg nospam.org> writes:
Jesse Phillips wrote:
 I think it would be a good idea to reduce the output from just typing dmd.
 The list of switches has become become so large that it scrolls the
 terminal. I think that when dmd is typed their should just be the most
 important information.
 
 * copyright
 * usage
 * D source file
 * -c
 * -D
 * -d
 * --help
 * -release
 * -v
 * -v1
 * -w
 * -gc
 
 --help could list out the current help. I'm not sure these are the best
 choices, but I think simplifying it with the more common ones is a good
 idea.

An increasing number of programmers use screens that are more than 25 lines high. On Windows you can define your "dos window" to be higher quite easily. Or if this is inconvenient for some reason, then you can type dmd | more and it doesn't scroll off-sreen anymore.
Apr 09 2007
parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Georg Wrede" <georg nospam.org> wrote in message 
news:461A1FE8.3020205 nospam.org...
 Jesse Phillips wrote:

 An increasing number of programmers use screens that are more than 25 
 lines high. On Windows you can define your "dos window" to be higher quite 
 easily.

 Or if this is inconvenient for some reason, then you can type

 dmd | more

 and it doesn't scroll off-sreen anymore.

True, though I do like the idea of only displaying common flags by typing "dmd", and then have a flag to display all the flags. This will only become more of a problem as DMD gets bigger.
Apr 09 2007