CLIUsage

Formats the Options for CLI printing.

Members

Manifest constants

checkActionUsage
enum checkActionUsage;

Options supported by -checkaction=

checkUsage
enum checkUsage;

Options supported by -check

externStdUsage
enum externStdUsage;

Options supported by -extern-std

gdwarfUsage
enum gdwarfUsage;

Options supported by -gdwarf

hcUsage
enum hcUsage;

Options supported by -HC

mcpuUsage
enum mcpuUsage;

CPU architectures supported -mcpu=id

previewUsage
enum previewUsage;

Language previews listed by -preview

revertUsage
enum revertUsage;

Language changes listed by -revert

transitionUsage
enum transitionUsage;

Language changes listed by -transition=id

Static functions

generateFeatureUsage
string generateFeatureUsage(Usage.Feature[] features, string flagName, string description)
Undocumented in source. Be warned that the author may not have intended to support it.
usage
string usage()

Returns a string of all available CLI options for the current targetOS. Options are separated by newlines.

Meta