diff options
Diffstat (limited to 'src/commands/what_depends.rs')
-rw-r--r-- | src/commands/what_depends.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/commands/what_depends.rs b/src/commands/what_depends.rs index 268b543..fc2c125 100644 --- a/src/commands/what_depends.rs +++ b/src/commands/what_depends.rs @@ -13,16 +13,12 @@ pub async fn what_depends<'a>(matches: &ArgMatches, config: &Configuration<'a>, let print_runtime_deps = getbool(matches, "dependency_type", crate::cli::IDENT_DEPENDENCY_TYPE_RUNTIME); let print_build_deps = getbool(matches, "dependency_type", crate::cli::IDENT_DEPENDENCY_TYPE_BUILD); - let print_sys_deps = getbool(matches, "dependency_type", crate::cli::IDENT_DEPENDENCY_TYPE_SYSTEM); - let print_sys_runtime_deps = getbool(matches, "dependency_type", crate::cli::IDENT_DEPENDENCY_TYPE_SYSTEM_RUNTIME); let package_filter = { let name = matches.value_of("package_name").map(String::from).map(PackageName::from).unwrap(); crate::util::filters::build_package_filter_by_dependency_name( &name, - print_sys_deps, - print_sys_runtime_deps, print_build_deps, print_runtime_deps ) @@ -42,8 +38,6 @@ pub async fn what_depends<'a>(matches: &ArgMatches, config: &Configuration<'a>, format, packages.into_iter(), print_runtime_deps, - print_build_deps, - print_sys_deps, - print_sys_runtime_deps) + print_build_deps) } |