YAAP - Yet Another Argument Parser
A simple commandline argument parser for C
|
structure representing a simple flag command line argument More...
#include <argparse.h>
Data Fields | |
struct arg_base | base |
base of the command line argument | |
char | short_flag |
one char flag identifying the argument, ignored if NULL | |
const char * | long_flag |
multi char flag identifying the argument, ignore if NULL | |
const char * | description |
short description of the argument | |
int(* | cb )(void *ctx, void *userdata) |
callback called if argument is found | |
structure representing a simple flag command line argument