Add --no-warnings option to suppress warning messages

Use `--no-warnings` option to hide warning messages. It only shows
problems marked as errors.
This commit is contained in:
ffapitalle
2019-12-12 05:12:53 -03:00
committed by Adrien Vergé
parent da3788e95a
commit 8fa9eb3ced
3 changed files with 49 additions and 4 deletions

View File

@@ -116,6 +116,9 @@ return code will be:
* ``1`` if one or more errors occur
* ``2`` if no errors occur, but one or more warnings occur
If the script is invoked with the ``--no-warnings`` option, it won't output
warning level problems, only error level ones.
YAML files extensions
---------------------