From 824763b316972d206510b7ef82e876b3929fa9d6 Mon Sep 17 00:00:00 2001 From: Stefan F <32997632+stefan301@users.noreply.github.com> Date: Mon, 21 Mar 2022 23:08:14 +0100 Subject: [PATCH] Typo in flatc options (warning-as-errors instead of warnings-as-errors) (#7180) --- src/flatc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." },