19 enum OptionIndex {CREATE};
20 enum OptionType {DISABLE, ENABLE, OTHER};
26 "--create\t\t\tTells the program to create something." 30 extern bool foo(
int argc,
const char* argv[])
Determines the minimum lengths of the buffer and options arrays used for Parser.
This is the only file required to use The Lean Mean C++ Option Parser. Just #include it and you're se...
static ArgStatus None(const Option &, bool)
For options that don't take an argument: Returns ARG_NONE.
A parsed option from the command line together with its argument if it has one.
Functions for checking the validity of option arguments.
Checks argument vectors for validity and parses them into data structures that are easier to work wit...
Describes an option, its help text (usage) and how it should be parsed.
void printUsage(OStream &prn, const Descriptor usage[], int width=80, int last_column_min_percent=50, int last_column_own_line_max_percent=75)
Outputs a nicely formatted usage string with support for multi-column formatting and line-wrapping...