csnip  0.1
Public Attributes | List of all members
csnip_clopts_optinfo_s Struct Reference

Descriptor for a single command line option.

#include <clopts.h>

Collaboration diagram for csnip_clopts_optinfo_s:
Collaboration graph
[legend]

Public Attributes

char short_name
 Short (single character) form.
 
const char * long_name
 Long option form.
 
const char * description
 Option description.
 
bool takes_val
 True if option takes a value, false if it's a flag.
 
csnip_clopts_parser parser
 The parser function callback.
 
void * usr
 User data pointer for the callback.
 

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