Hello,
I'm needing a second pair of eyes to look at this.
What am I doing wrong?
It's an array structure of options for the getopt_long UNIX call.Code:const struct option long_options[] =
{
{"help",0,0,'h'},
{"output",1,0,'o'},
{"debug",1,0,'d'},
{"verbose",0,0,'v'},
{"environment",0,0,'e'},
{NULL,0,NULL,0},
};
Any help would be most appreciated.