|
1 | 1 | #![cfg_attr(feature = "deny-warnings", deny(warnings))] |
2 | 2 |
|
3 | 3 | use clap::{App, Arg, ArgMatches, SubCommand}; |
4 | | -use clippy_dev::{bless, fmt, new_lint, ra_setup, serve, stderr_length_check, update_lints}; |
| 4 | +use clippy_dev::{bless, fmt, ide_setup, new_lint, serve, stderr_length_check, update_lints}; |
5 | 5 | fn main() { |
6 | 6 | let matches = get_clap_config(); |
7 | 7 |
|
@@ -34,7 +34,7 @@ fn main() { |
34 | 34 | ("limit_stderr_length", _) => { |
35 | 35 | stderr_length_check::check(); |
36 | 36 | }, |
37 | | - ("ra_setup", Some(matches)) => ra_setup::run(matches.value_of("rustc-repo-path")), |
| 37 | + ("ide_setup", Some(matches)) => ide_setup::run(matches.value_of("rustc-repo-path")), |
38 | 38 | ("serve", Some(matches)) => { |
39 | 39 | let port = matches.value_of("port").unwrap().parse().unwrap(); |
40 | 40 | let lint = matches.value_of("lint"); |
@@ -138,8 +138,8 @@ fn get_clap_config<'a>() -> ArgMatches<'a> { |
138 | 138 | .about("Ensures that stderr files do not grow longer than a certain amount of lines."), |
139 | 139 | ) |
140 | 140 | .subcommand( |
141 | | - SubCommand::with_name("ra_setup") |
142 | | - .about("Alter dependencies so rust-analyzer can find rustc internals") |
| 141 | + SubCommand::with_name("ide_setup") |
| 142 | + .about("Alter dependencies so Intellij Rust can find rustc internals") |
143 | 143 | .arg( |
144 | 144 | Arg::with_name("rustc-repo-path") |
145 | 145 | .long("repo-path") |
|
0 commit comments