ArgParser

Extract and cleanup user input from the command line.

@safe
struct ArgParser {
Data data;
GroupF[string] groups;
}

Alias This

data

Members

Functions

parse
void parse(string[] args)

trusted: getopt is safe in dmd-2.077.0. Remove the trusted attribute when upgrading the minimal required version of the D frontend.

printHelp
void printHelp()

Trusted: The only input is a static string and data derived from getopt itselt. Assuming that getopt in phobos behave well.

Meta