aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cli/src/main.rs
diff options
context:
space:
mode:
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,