Update README.md

[skip ci]
Update README.md

[skip ci]
Add sugar_generate_warning_flags function