corrected error reporting with unknown options.