Definition structure of an option. More...
#include <options.hh>
Public Attributes | |
std::string | longname |
long option name | |
char | shortname |
short option char | |
bool * | flag |
pointer to flag that indicates if option given | |
int | arg_type |
type of argument | |
void * | argument |
std::string | deflt |
std::string | argname |
optional name for an argument (shown in usage string) | |
std::string | description |
optional description (shown in help) |
Definition structure of an option.
pointer to variable that should hold argument, 0 indicates no arg
std::string LocARNA::option_def::deflt |
pointer to default argument, if arg optional. otherwise 0