Update cheatsheets

This commit is contained in:
ivuorinen
2024-07-19 13:10:18 +00:00
parent 8b569b409a
commit 839a19265f
2 changed files with 8 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ source: https://github.com/tldr-pages/tldr.git
`cargo clippy --package {{package}}`
- Run checks for a lint group (see <https://rust-lang.github.io/rust-clippy/stable/index.html#?groups=cargo,complexity,correctness,deprecated,nursery,pedantic,perf,restriction,style,suspicious>):
`cargo clippy -- --warn clippy::{{lint_group}}`
- Treat warnings as errors:
`cargo clippy -- --deny warnings`

View File

@@ -32,3 +32,7 @@ source: https://github.com/tldr-pages/tldr.git
- [l]ist all pages for the current platform and `common`:
`tldr --list`
- [l]ist all available subcommand pages for a command:
`tldr --list | grep {{command}} | column`