optionSet.Add("p=|platform=","the {PLATFORM} that the generated code will target: 'win', 'osx' or 'linux' or 'emscripten'",p=>{GetDestinationPlatform(p,errorMessages);});
optionSet.Add("a=|arch=","the {ARCHITECTURE} that the generated code will target: 'x86' or 'x64' or 'wasm32' or 'wasm64'",a=>{GetDestinationArchitecture(a,errorMessages);});
optionSet.Add("prefix=","sets a string prefix to the names of generated files",a=>{options.Prefix=a;});
optionSet.Add("property=","the property detection mode to use: 'all', 'none' or 'keywords' or 'heuristics'",p=>{GetPropertyMode(p,errorMessages);});
optionSet.Add("exceptions","enables support for C++ exceptions in the parser",v=>{options.EnableExceptions=true;});
optionSet.Add("rtti","enables support for C++ RTTI in the parser",v=>{options.EnableRTTI=true;});