YAAP - Yet Another Argument Parser
A simple commandline argument parser for C
|
structure representing a command More...
#include <argparse.h>
Data Fields | |
struct arg_base | base |
base of the command line argument | |
int | no_command |
if this is 1, the callback will be called if no command is given | |
const char * | command |
the name of the command on the commandline, no spaces or special chars allowed, only ascii | |
const char * | description |
short description of the command | |
int(* | cb )(int argc, char **argv) |
function to call if the command is found on commandline | |
structure representing a command