iPXE
Data Fields
command_descriptor Struct Reference

A command descriptor. More...

#include <parseopt.h>

Data Fields

struct option_descriptoroptions
 Option descriptors.
uint8_t num_options
 Number of option descriptors.
uint8_t len
 Length of option structure.
uint8_t min_args
 Minimum number of non-option arguments.
uint8_t max_args
 Maximum number of non-option arguments.
const char * usage
 Command usage.

Detailed Description

A command descriptor.

Definition at line 76 of file parseopt.h.


Field Documentation

Option descriptors.

Definition at line 78 of file parseopt.h.

Referenced by print_usage().

Number of option descriptors.

Definition at line 80 of file parseopt.h.

Referenced by print_usage().

Length of option structure.

Definition at line 82 of file parseopt.h.

Referenced by ifcommon_exec(), and parse_options().

Minimum number of non-option arguments.

Definition at line 84 of file parseopt.h.

Maximum number of non-option arguments.

Definition at line 86 of file parseopt.h.

Command usage.

This excludes the literal "Usage:" and the command name, which will be prepended automatically.

Definition at line 92 of file parseopt.h.

Referenced by print_usage().


The documentation for this struct was generated from the following file: