aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cli/src/main.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-17 16:31:09 +0000
committerAleksey Kladov <[email protected]>2020-02-17 16:32:17 +0000
commitd7be1da8df45027ce18b8af9da68ed98b9a454cc (patch)
treebbbf059cd41cb48859710155c30d5dac4a657440 /crates/ra_cli/src/main.rs
parent559c5f37f6d0435eb3a0bbb1cf10051783df4dfc (diff)
Inline ra_batch
Diffstat (limited to 'crates/ra_cli/src/main.rs')
-rw-r--r--crates/ra_cli/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_cli/src/main.rs b/crates/ra_cli/src/main.rs
index 9a7f9724e..4a428faff 100644
--- a/crates/ra_cli/src/main.rs
+++ b/crates/ra_cli/src/main.rs
@@ -1,5 +1,6 @@
1//! FIXME: write short doc here 1//! FIXME: write short doc here
2 2
3mod load_cargo;
3mod analysis_stats; 4mod analysis_stats;
4mod analysis_bench; 5mod analysis_bench;
5mod progress_report; 6mod progress_report;
@@ -157,12 +158,10 @@ ARGS:
157 let path = { 158 let path = {
158 let mut trailing = matches.free()?; 159 let mut trailing = matches.free()?;
159 if trailing.len() != 1 { 160 if trailing.len() != 1 {
160 eprintln!("{}", help::ANALYSIS_STATS_HELP);
161 Err("Invalid flags")?; 161 Err("Invalid flags")?;
162 } 162 }
163 trailing.pop().unwrap() 163 trailing.pop().unwrap()
164 }; 164 };
165 matches.finish().or_else(handle_extra_flags)?;
166 165
167 analysis_stats::run( 166 analysis_stats::run(
168 verbosity, 167 verbosity,