use al_options in yet to be coded laby reader

This commit is contained in:
philippe lhardy
2018-06-14 22:50:18 +02:00
parent fbe4a3e133
commit 3a4255b6da
2 changed files with 14 additions and 2 deletions

View File

@@ -1,6 +1,17 @@
#include "al_options.h"
// NOT YET IMPLEMENTED
int main(int argc, char ** argv)
{
return 1;
int exitcode = 1;
struct al_options * options = al_options_create(argc,argv);
al_options_set_debug(options,0);
struct alhash_datablock * debugdata = al_option_get(options,"debug");
if ( debugdata != NULL )
{
exitcode = 0;
}
al_options_release(options);
return exitcode;
}