summaryrefslogtreecommitdiffstats
path: root/src/commands/dependencies_of.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-03 08:31:40 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-12-03 08:31:40 +0100
commitd1230c2e259ebdf892c7979fce041d84984ddb74 (patch)
treec3dadac4339fda4348321b0160b82f374093ea36 /src/commands/dependencies_of.rs
parent32db7e255f18d8f9514de423bd65264d2090949e (diff)
Remove the idea of "system dependencies"
Because we want to be able to work on different distros, we cannot have a concept of "system dependencies", because each distro names their packages differently. The concept of installing stuff from a distro image can still be accomplished easily via environment variables. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/commands/dependencies_of.rs')
-rw-r--r--src/commands/dependencies_of.rs12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/commands/dependencies_of.rs b/src/commands/dependencies_of.rs
index 1addb94..355b41f 100644
--- a/src/commands/dependencies_of.rs
+++ b/src/commands/dependencies_of.rs
@@ -23,22 +23,16 @@ pub async fn dependencies_of<'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);
- trace!("Printing packages with format = '{}', runtime: {}, build: {}, sys: {}, sys_rt: {}",
+ trace!("Printing packages with format = '{}', runtime: {}, build: {}",
format,
print_runtime_deps,
- print_build_deps,
- print_sys_deps,
- print_sys_runtime_deps);
+ print_build_deps);
crate::ui::print_packages(&mut stdout,
format,
iter,
print_runtime_deps,
- print_build_deps,
- print_sys_deps,
- print_sys_runtime_deps)
+ print_build_deps)
}