Implemented -f[no]enhanced-diagnostics, to enable/disable the usage of enhanced diagnostics.