Fork me on GitHub
Loading...
Searching...
No Matches
Data Fields
cmdline_parser_params Struct Reference

The additional parameters to pass to parser functions. More...

#include <cmdline.h>

Data Fields

int override
 whether to override possibly already present options (default 0)
 
int initialize
 whether to initialize the option structure gengetopt_args_info (default 1)
 
int check_required
 whether to check that all required options were provided (default 1)
 
int check_ambiguity
 whether to check for options already specified in the option structure gengetopt_args_info (default 0)
 
int print_errors
 whether getopt_long should print an error message for a bad option (default 1)
 

Detailed Description

The additional parameters to pass to parser functions.

Field Documentation

◆ check_ambiguity

int cmdline_parser_params::check_ambiguity

whether to check for options already specified in the option structure gengetopt_args_info (default 0)

◆ check_required

int cmdline_parser_params::check_required

whether to check that all required options were provided (default 1)

◆ initialize

int cmdline_parser_params::initialize

whether to initialize the option structure gengetopt_args_info (default 1)

◆ override

int cmdline_parser_params::override

whether to override possibly already present options (default 0)

◆ print_errors

int cmdline_parser_params::print_errors

whether getopt_long should print an error message for a bad option (default 1)


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