|
Bash++
Bash++ compiler internal documentation
|
Represents a command-line option for the Bash++ compiler. More...
#include <parse_arguments.h>
Public Member Functions | |
| constexpr | Option (char shortopt, const char *longopt, const char *description, bool takes_argument) |
Public Attributes | |
| const char | shortopt |
| const char * | longopt |
| const char * | description |
| const bool | takes_argument |
Represents a command-line option for the Bash++ compiler.
This struct defines a command-line option, including its short and long forms, a description, and whether it takes an argument. It is fully constexpr to allow compile-time generation of help strings.
|
inlineconstexpr |
| const char* Option::description |
| const char* Option::longopt |
| const char Option::shortopt |
| const bool Option::takes_argument |