@@ -805,33 +805,34 @@ private @property string helpString()
805805{
806806 return
807807" rdmd build " ~ thisVersion ~ "
808- Usage: rdmd [RDMD AND DMD OPTIONS] ... program [PROGRAM OPTIONS] ...
809- Builds ( with dependents) and runs a D program .
810- Example: rdmd -release myprog --myprogparm 5
808+ Usage: rdmd [RDMD AND DMD OPTIONS...] program [PROGRAM OPTIONS...]
809+ Builds a D program with its dependencies and runs it .
810+ Example: rdmd -release myprog --myprogparameter 5
811811
812- Any option to be passed to the compiler must occur before the program name. In
813- addition to compiler options, rdmd recognizes the following options:
812+ Any option to be passed to the compiler must occur before the program name.
813+ In addition to compiler options, rdmd recognizes the following options:
814814 --build-only just build the executable, don't run it
815815 --chatty write compiler commands to stdout before executing them
816816 --compiler=comp use the specified compiler (e.g. gdmd) instead of %s
817817 --dry-run do not compile, just show what commands would be run
818818 (implies --chatty)
819- --eval=code evaluate code as in perl -e (multiple --eval allowed)
820- --exclude=package exclude a package from the build (multiple --exclude allowed)
819+ --eval=code evaluate code, similar to perl -e (multiple allowed)
820+ --exclude=package exclude a package from the build (multiple allowed)
821821 --include=package negate --exclude or a standard package (%-(%s, %))
822822 --extra-file=file include an extra source or object in the compilation
823- (multiple --extra-file allowed)
823+ (multiple allowed)
824824 --force force a rebuild even if apparently not necessary
825- --help this message
826- --loop=code like eval, but wraps code in \" foreach (line; stdin.byLine()) { ... }\"
825+ --help show this message
826+ --loop=code --eval, but wraps code in:
827+ foreach (line; stdin.byLine()) { ... }
827828 --main add a stub main program to the mix (e.g. for unittesting)
828829 --makedepend print dependencies in makefile format and exit
829- (needs dmd's option `-of` to be present)
830+ (needs dmd's option `-of` to be present)
830831 --makedepfile=file print dependencies in makefile format to file and continue
831- (needs dmd's option `-of` to be present)
832- --man open web browser on manual page
833- --shebang rdmd is in a shebang line (put as first argument)
834- --tmpdir set an alternative temporary directory
832+ (needs dmd's option `-of` to be present)
833+ --man open rdmd's manual in a web browser
834+ --shebang rdmd is in a shebang line (use as first argument)
835+ --tmpdir set an alternative temporary directory to cache compiled code
835836" .format(defaultCompiler, defaultExclusions);
836837}
837838
0 commit comments