mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Improve clippy_dev help text
This commit is contained in:
parent
4f38538d75
commit
cca50701d9
1 changed files with 7 additions and 2 deletions
|
@ -19,12 +19,17 @@ fn main() {
|
||||||
let matches = App::new("Clippy developer tooling")
|
let matches = App::new("Clippy developer tooling")
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("update_lints")
|
SubCommand::with_name("update_lints")
|
||||||
.about("Update the lint list")
|
.about("Makes sure that:\n \
|
||||||
|
* the lint count in README.md is correct\n \
|
||||||
|
* the changelog contains markdown link references at the bottom\n \
|
||||||
|
* all lints groups include the correct lints\n \
|
||||||
|
* lint modules in `clippy_lints/*` are visible in `src/lib.rs` via `pub mod`\n \
|
||||||
|
* all lints are registered in the lint store")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("print-only")
|
Arg::with_name("print-only")
|
||||||
.long("print-only")
|
.long("print-only")
|
||||||
.short("p")
|
.short("p")
|
||||||
.help("Print a table of lints to STDOUT. Does not modify any files."),
|
.help("Print a table of lints to STDOUT. This does not include deprecated and internal lints. (Does not modify any files)"),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
Loading…
Reference in a new issue