We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90d4350 + acd6d4d commit 9702b3dCopy full SHA for 9702b3d
clippy_dev/src/main.rs
@@ -2,7 +2,7 @@ extern crate clap;
2
extern crate clippy_dev;
3
extern crate regex;
4
5
-use clap::{App, Arg, SubCommand};
+use clap::{App, AppSettings, Arg, SubCommand};
6
use clippy_dev::*;
7
8
#[derive(PartialEq)]
@@ -13,9 +13,11 @@ enum UpdateMode {
13
14
fn main() {
15
let matches = App::new("Clippy developer tooling")
16
+ .setting(AppSettings::SubcommandRequiredElseHelp)
17
.subcommand(
18
SubCommand::with_name("update_lints")
- .about(
19
+ .about("Updates lint registration and information from the source code")
20
+ .long_about(
21
"Makes sure that:\n \
22
* the lint count in README.md is correct\n \
23
* the changelog contains markdown link references at the bottom\n \
0 commit comments