scripts: twister: Fix -W help message

This option is used to disable warnings as errors and not the other
way around.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2022-02-08 21:36:25 -08:00 committed by Anas Nashif
commit 32c4bd3b68

View file

@ -714,7 +714,7 @@ structure in the main Zephyr tree: boards/<arch>/<board_name>/""")
"verbosity.")
parser.add_argument("-W", "--disable-warnings-as-errors", action="store_true",
help="Treat warning conditions as errors.")
help="Do not treat warning conditions as errors.")
parser.add_argument(
"--west-flash", nargs='?', const=[],