From 5750ee69ff4a131c08d0d9b3298c78b92b566f09 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 24 Oct 2019 12:32:19 +0300 Subject: add --with-deps option to analysis-stats --- crates/ra_cli/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/ra_cli/src/main.rs') 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<()> { }; let memory_usage = matches.contains("--memory-usage"); let only: Option = matches.opt_value_from_str(["-o", "--only"])?; + let with_deps: bool = matches.contains("--with-deps"); let path = { let mut trailing = matches.free()?; if trailing.len() != 1 { @@ -109,6 +110,7 @@ fn main() -> Result<()> { memory_usage, path.as_ref(), only.as_ref().map(String::as_ref), + with_deps, )?; } "analysis-bench" => { -- cgit v1.2.3