cmdlineoptions/c/example.c

18 lines
271 B
C
Raw Normal View History

2013-12-27 19:59:33 +01:00
#include "cmdlineoptions.h"
void configureOptions() {
CmdLO_Init(1);
CmdLO_Add("test","--test");
CmdLO_Add("test","-t");
CmdLO_AddDescription("test", "This is a test Option.");
2013-12-27 19:59:33 +01:00
}
int main(int argc, char** argv) {
configureOptions();
CmdLO_Parse(argc,argv);
2013-12-27 19:59:33 +01:00
}