Added detection of unknown command-line options.