Compiler implementation of the D programming language.
This modules defines the help texts for the CLI options offered by DMD. This file is not shared with other compilers which use the DMD front-end. However, this file will be used to generate the online documentation and MAN pages.
Bit decoding of the TargetOS
Checks whether os
is the current TargetOS
. For TargetOS.all
it will always return true.
TargetOS os
|
TargetOS to check |
os
contains the current targetOS.Capitalize a the first character of a ASCII string.
string w
| ASCII i string to capitalize |
Contains all available CLI Usage.Option
s.
Usage.Option
Representation of a CLI Option
The DDoc description ddoxText
is only available when compiled with -version=DdocOptions
.
The CLI flag without leading -
, e.g. color
A detailed description of the flag
For which TargetOS
the flags are applicable
string flag
| CLI flag without leading - , e.g. color
|
string helpText
| detailed description of the flag |
TargetOS os
| for which TargetOS the flags are applicable |
string ddocText
| detailed description of the flag (in Ddoc) |
Returns all available CLI options
Representation of a CLI feature
name of the feature
whether the feature is still in use
Returns all available transitions
Returns all available reverts
Returns all available previews
Formats the Options
for CLI printing.
Returns a string of all available CLI options for the current targetOS. Options are separated by newlines.
CPU architectures supported -mcpu=id
Language changes listed by -transition=id
Language changes listed by -revert
Language previews listed by -preview
Options supported by -checkaction=
Options supported by -check
Options supported by -extern-std
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/dmd_cli.html