@@ -805,33 +805,34 @@ private @property string helpString()
805
805
{
806
806
return
807
807
" 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
811
811
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:
814
814
--build-only just build the executable, don't run it
815
815
--chatty write compiler commands to stdout before executing them
816
816
--compiler=comp use the specified compiler (e.g. gdmd) instead of %s
817
817
--dry-run do not compile, just show what commands would be run
818
818
(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)
821
821
--include=package negate --exclude or a standard package (%-(%s, %))
822
822
--extra-file=file include an extra source or object in the compilation
823
- (multiple --extra-file allowed)
823
+ (multiple allowed)
824
824
--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()) { ... }
827
828
--main add a stub main program to the mix (e.g. for unittesting)
828
829
--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)
830
831
--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
835
836
" .format(defaultCompiler, defaultExclusions);
836
837
}
837
838
0 commit comments