diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-11-03 12:59:40 +0100 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2018-11-03 13:43:35 +0100 |
| commit | cca50701d9b798c821bb4c5c4a20eb02d8d5f3a8 (patch) | |
| tree | ee1e4b497d02590e9b0231094f9622ab9556d497 | |
| parent | 4f38538d7585caed83bb6a95ede130f407ca7d3f (diff) | |
| download | rust-cca50701d9b798c821bb4c5c4a20eb02d8d5f3a8.tar.gz rust-cca50701d9b798c821bb4c5c4a20eb02d8d5f3a8.zip | |
Improve clippy_dev help text
| -rw-r--r-- | clippy_dev/src/main.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/clippy_dev/src/main.rs b/clippy_dev/src/main.rs index 128feaa8aea..807e4a1b9af 100644 --- a/clippy_dev/src/main.rs +++ b/clippy_dev/src/main.rs @@ -19,12 +19,17 @@ fn main() { let matches = App::new("Clippy developer tooling") .subcommand( 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::with_name("print-only") .long("print-only") .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(); |
