Skip to content

Commit cca5070

Browse files
committed
Improve clippy_dev help text
1 parent 4f38538 commit cca5070

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

clippy_dev/src/main.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@ fn main() {
1919
let matches = App::new("Clippy developer tooling")
2020
.subcommand(
2121
SubCommand::with_name("update_lints")
22-
.about("Update the lint list")
22+
.about("Makes sure that:\n \
23+
* the lint count in README.md is correct\n \
24+
* the changelog contains markdown link references at the bottom\n \
25+
* all lints groups include the correct lints\n \
26+
* lint modules in `clippy_lints/*` are visible in `src/lib.rs` via `pub mod`\n \
27+
* all lints are registered in the lint store")
2328
.arg(
2429
Arg::with_name("print-only")
2530
.long("print-only")
2631
.short("p")
27-
.help("Print a table of lints to STDOUT. Does not modify any files."),
32+
.help("Print a table of lints to STDOUT. This does not include deprecated and internal lints. (Does not modify any files)"),
2833
)
2934
)
3035
.get_matches();

0 commit comments

Comments
 (0)