getoptions error handling
the function config_process_cmdline should return -1 if there was an error processing the options (i.e. required argument missing or unknown option) and the program should be stopped in this case.
the function config_process_cmdline should return -1 if there was an error processing the options (i.e. required argument missing or unknown option) and the program should be stopped in this case.