diff --git a/src/flatc.cpp b/src/flatc.cpp index ae82b41d5..c68e9baac 100644 --- a/src/flatc.cpp +++ b/src/flatc.cpp @@ -205,7 +205,7 @@ const static FlatCOption options[] = { "Used with \"binary\" and \"json\" options, it generates data using " "schema-less FlexBuffers." }, { "", "no-warnings", "", "Inhibit all warnings messages." }, - { "", "warning-as-errors", "", "Treat all warnings as errors." }, + { "", "warnings-as-errors", "", "Treat all warnings as errors." }, { "", "cs-global-alias", "", "Prepend \"global::\" to all user generated csharp classes and " "structs." },