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.
1 parent a001428 commit bb1a53fCopy full SHA for bb1a53f
rust-code-analysis-cli/src/main.rs
@@ -1,6 +1,6 @@
1
mod formats;
2
3
-use clap::{crate_version, App, Arg};
+use clap::{crate_version, Arg, Command};
4
use globset::{Glob, GlobSet, GlobSetBuilder};
5
use std::collections::{hash_map, HashMap};
6
use std::fmt;
@@ -181,7 +181,7 @@ where
181
}
182
183
fn main() {
184
- let matches = App::new("rust-code-analysis-cli")
+ let matches = Command::new("rust-code-analysis-cli")
185
.version(crate_version!())
186
.author(&*env!("CARGO_PKG_AUTHORS").replace(':', "\n"))
187
.about("Analyze source code")
0 commit comments