YAAP - Yet Another Argument Parser
A simple commandline argument parser for C
Data Fields
arg_flag Struct Reference

structure representing a simple flag command line argument More...

#include <argparse.h>

Collaboration diagram for arg_flag:
Collaboration graph
[legend]

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
 

Detailed Description

structure representing a simple flag command line argument


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