diff options
Diffstat (limited to 'crates/ra_cli/src/main.rs')
-rw-r--r-- | crates/ra_cli/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_cli/src/main.rs b/crates/ra_cli/src/main.rs index 2405eb4f4..a31fd5d6a 100644 --- a/crates/ra_cli/src/main.rs +++ b/crates/ra_cli/src/main.rs | |||
@@ -96,6 +96,7 @@ fn main() -> Result<()> { | |||
96 | }; | 96 | }; |
97 | let memory_usage = matches.contains("--memory-usage"); | 97 | let memory_usage = matches.contains("--memory-usage"); |
98 | let only: Option<String> = matches.opt_value_from_str(["-o", "--only"])?; | 98 | let only: Option<String> = matches.opt_value_from_str(["-o", "--only"])?; |
99 | let with_deps: bool = matches.contains("--with-deps"); | ||
99 | let path = { | 100 | let path = { |
100 | let mut trailing = matches.free()?; | 101 | let mut trailing = matches.free()?; |
101 | if trailing.len() != 1 { | 102 | if trailing.len() != 1 { |
@@ -109,6 +110,7 @@ fn main() -> Result<()> { | |||
109 | memory_usage, | 110 | memory_usage, |
110 | path.as_ref(), | 111 | path.as_ref(), |
111 | only.as_ref().map(String::as_ref), | 112 | only.as_ref().map(String::as_ref), |
113 | with_deps, | ||
112 | )?; | 114 | )?; |
113 | } | 115 | } |
114 | "analysis-bench" => { | 116 | "analysis-bench" => { |