Fixing command line problems if unknown options are enabled