sdlog2: getopt invalid usage fixed
Merge branch 'getopt_fixes' into sdlog2_opt