about summary refs log tree commit diff
path: root/clippy_dev/src/main.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2020-12-13 17:01:44 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2020-12-13 18:52:46 +0100
commit27dc565d28444fa488972e09a8117474cee1e752 (patch)
tree235876cc8febddf1a84f0b5c94430efba1e7fce2 /clippy_dev/src/main.rs
parent91fa25c9de9b8abb410273fe233fd71c39a434e3 (diff)
downloadrust-27dc565d28444fa488972e09a8117474cee1e752.tar.gz
rust-27dc565d28444fa488972e09a8117474cee1e752.zip
cargo dev: rename ra-setup to ra_setup to be in line with the other commands
Diffstat (limited to 'clippy_dev/src/main.rs')
-rw-r--r--clippy_dev/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_dev/src/main.rs b/clippy_dev/src/main.rs
index 5938b788101..4fdae38e3ab 100644
--- a/clippy_dev/src/main.rs
+++ b/clippy_dev/src/main.rs
@@ -35,7 +35,7 @@ fn main() {
         ("limit_stderr_length", _) => {
             stderr_length_check::check();
         },
-        ("ra-setup", Some(matches)) => ra_setup::run(matches.value_of("rustc-repo-path")),
+        ("ra_setup", Some(matches)) => ra_setup::run(matches.value_of("rustc-repo-path")),
         ("serve", Some(matches)) => {
             let port = matches.value_of("port").unwrap().parse().unwrap();
             let lint = matches.value_of("lint");
@@ -131,7 +131,7 @@ fn get_clap_config<'a>() -> ArgMatches<'a> {
                 .about("Ensures that stderr files do not grow longer than a certain amount of lines."),
         )
         .subcommand(
-            SubCommand::with_name("ra-setup")
+            SubCommand::with_name("ra_setup")
                 .about("Alter dependencies so rust-analyzer can find rustc internals")
                 .arg(
                     Arg::with_name("rustc-repo-path")