iPXE
|
A command descriptor. More...
#include <parseopt.h>
Data Fields | |
struct option_descriptor * | options |
Option descriptors. More... | |
uint8_t | num_options |
Number of option descriptors. More... | |
uint8_t | len |
Length of option structure. More... | |
uint8_t | min_args |
Minimum number of non-option arguments. More... | |
uint8_t | max_args |
Maximum number of non-option arguments. More... | |
const char * | usage |
Command usage. More... | |
A command descriptor.
Definition at line 77 of file parseopt.h.
struct option_descriptor* command_descriptor::options |
Option descriptors.
Definition at line 79 of file parseopt.h.
uint8_t command_descriptor::num_options |
Number of option descriptors.
Definition at line 81 of file parseopt.h.
uint8_t command_descriptor::len |
Length of option structure.
Definition at line 83 of file parseopt.h.
uint8_t command_descriptor::min_args |
Minimum number of non-option arguments.
Definition at line 85 of file parseopt.h.
uint8_t command_descriptor::max_args |
Maximum number of non-option arguments.
Definition at line 87 of file parseopt.h.
const char* command_descriptor::usage |
Command usage.
This excludes the literal "Usage:" and the command name, which will be prepended automatically.
Definition at line 93 of file parseopt.h.