Skip to content

Commit 7f5d85e

Browse files
authored
Merge pull request #1700 from wilzbach/fix-17262
Fix Issue 17262 - Better docs for rdmd
2 parents 235b26d + 5a598f9 commit 7f5d85e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

rdmd.dd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ $(P
7272
$(B rdmd) [$(I dmd and rdmd options)] $(I progfile)[.d] [$(I program arguments)]
7373
)
7474

75-
$(P In addition to $(B dmd)'s options, $(B rdmd) recognizes the following:
75+
$(P In addition to $(LINK2 $(ROOT_DIR)dmd.html, `dmd`)'s options, $(B rdmd) recognizes the following:
7676
)
7777

7878
$(DL
7979

80-
$(DT $(B --build-only)) $(DD just build the executable, don't run it)
80+
$(DT $(B --build-only)) $(DD just build the executable, don't run it. By default, the executable is placed into the source file directory)
8181

8282
$(DT $(B --chatty)) $(DD write dmd commands to stdout before executing
8383
them)
@@ -94,6 +94,10 @@ evaluated in turn))
9494

9595
$(DT $(B --exclude)=package) $(DD exclude a package from the build (multiple --exclude allowed))
9696

97+
$(DT $(B --include)=package) $(DD negate $(B --exclude) or a standard package (std, etc, core))
98+
99+
$(DT $(B --extra-file)=file) $(DD include an extra source or object in the compilation (multiple --extra-file allowed))
100+
97101
$(DT $(B --force)) $(DD force a rebuild even if apparently not
98102
necessary)
99103

@@ -110,6 +114,8 @@ $(DT $(B --makedepend)) $(DD print dependencies in makefile format and exit)
110114
$(DT $(B --man)) $(DD open web browser on manual page)
111115

112116
$(DT $(B --shebang)) $(DD rdmd is in a shebang line (put as first argument))
117+
118+
$(DT $(B --tmpdir)) $(DD use a different temporary directory)
113119
)
114120

115121
$(H2 Download)

0 commit comments

Comments
 (0)