Fork me on GitHub
Data Fields
cmdline_parser_params Struct Reference

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

#include <pp-cmdline.h>

Data Fields

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

Detailed Description

The additional parameters to pass to parser functions.

Field Documentation

int cmdline_parser_params::check_ambiguity

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

int cmdline_parser_params::check_required

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

int cmdline_parser_params::initialize

whether to initialize the option structure gengetopt_args_info (default 1)

int cmdline_parser_params::override

whether to override possibly already present options (default 0)

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 file: