aboutsummaryrefslogtreecommitdiff
path: root/test/lint/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/README.md')
-rw-r--r--test/lint/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/lint/README.md b/test/lint/README.md
index 49ed8356c3..04a836c4d2 100644
--- a/test/lint/README.md
+++ b/test/lint/README.md
@@ -26,6 +26,21 @@ Then you can use:
( cd ./test/lint/test_runner/ && cargo fmt && cargo clippy && RUST_BACKTRACE=1 cargo run )
```
+If you wish to run individual lint checks, run the test_runner with
+`--lint=TEST_TO_RUN` arguments. If running with `cargo run`, arguments after
+`--` are passed to the binary you are running e.g.:
+
+```sh
+( cd ./test/lint/test_runner/ && RUST_BACKTRACE=1 cargo run -- --lint=doc --lint=trailing_whitespace )
+```
+
+To see a list of all individual lint checks available in test_runner, use `-h`
+or `--help`:
+
+```sh
+( cd ./test/lint/test_runner/ && RUST_BACKTRACE=1 cargo run -- --help )
+```
+
#### Dependencies
| Lint test | Dependency |