From 14bcd4e6422e1ac445901973f5917770ecce7aae Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Wed, 2 Jun 2021 10:05:41 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f4d03cd..59df693 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ cs2pr /path/to/checkstyle-report.xml - `--graceful-warnings`: Don't exit with error codes if there are only warnings - `--colorize`: Colorize the output. Useful if the same lint script should be used locally on the command line and remote on GitHub Actions. With this option, errors and warnings are better distinguishable on the command line and the output is still compatible with GitHub Annotations +- `--notices-as-warnings` Converts notices to warnings. This can be useful because GitHub does not annotate notices. +- `--prepend-source` When the checkstyle provider provides a `source` attribute, prepend the source to the output message. ## Pipe the output of another commmand From ecfd418abafdc9dae7391bd495bfc1babf90ace3 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Wed, 2 Jun 2021 17:17:29 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59df693..1c87a5e 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ cs2pr /path/to/checkstyle-report.xml - `--graceful-warnings`: Don't exit with error codes if there are only warnings - `--colorize`: Colorize the output. Useful if the same lint script should be used locally on the command line and remote on GitHub Actions. With this option, errors and warnings are better distinguishable on the command line and the output is still compatible with GitHub Annotations - `--notices-as-warnings` Converts notices to warnings. This can be useful because GitHub does not annotate notices. -- `--prepend-source` When the checkstyle provider provides a `source` attribute, prepend the source to the output message. +- `--prepend-source` When the checkstyle generating tool provides a `source` attribute, prepend the source to the output message. ## Pipe the output of another commmand