Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit c6b6803

Browse files
committed
rt.config: Update documentation of --DRT- option parsing
1 parent ae9581c commit c6b6803

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rt/config.d

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ Configuration options for druntime.
44
The default way to configure the runtime is by passing command line arguments
55
starting with `--DRT-` and followed by the option name, e.g. `--DRT-gcopt` to
66
configure the GC.
7-
Command line options starting with `--DRT-` are filtered out before calling main,
8-
so the program will not see them. They are still available via `rt_args()`.
7+
When command line parsing is enabled, command line options starting
8+
with `--DRT-` are filtered out before calling main, so the program
9+
will not see them. They are still available via `rt_args()`.
910
1011
Configuration via the command line can be disabled by declaring a variable for the
1112
linker to pick up before using it's default from the runtime:

0 commit comments

Comments
 (0)