aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-13 15:55:44 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-13 15:55:44 +0000
commit0e01fb1b1c0d7f6c1cfe1c654cd6705799ef9699 (patch)
treea24fde2c598b81a4db481fbe66fd359424f6f485
parent67fabcfaf098470a99ce57bdcb474bdccade09d8 (diff)
downloadpaludis-0e01fb1b1c0d7f6c1cfe1c654cd6705799ef9699.tar.gz
paludis-0e01fb1b1c0d7f6c1cfe1c654cd6705799ef9699.tar.xz
Default behaviour is now to use deep dependencies
-rw-r--r--src/command_line.cc2
-rw-r--r--src/command_line.hh4
-rw-r--r--src/install.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/command_line.cc b/src/command_line.cc
index 2f30a81..7235c88 100644
--- a/src/command_line.cc
+++ b/src/command_line.cc
@@ -66,7 +66,7 @@ CommandLine::CommandLine() :
a_dl_drop_circular(&dl_args, "dl-drop-circular", '\0', "Drop circular dependencies"),
a_dl_drop_all(&dl_args, "dl-drop-all", '0', "Drop all dependencies"),
a_dl_ignore_installed(&dl_args, "dl-ignore-installed", 'e', "Ignore installed packages"),
- a_dl_recursive_deps(&dl_args, "dl-recursive-deps", 'D', "Check dependencies for installed packages"),
+ a_dl_no_recursive_deps(&dl_args, "dl-no-recursive-deps", '\0', "Don't check runtime dependencies for installed packages"),
a_dl_max_stack_depth(&dl_args, "dl-max-stack-depth", '\0', "Maximum stack depth (default 100)")
{
a_dl_max_stack_depth.set_argument(100);
diff --git a/src/command_line.hh b/src/command_line.hh
index 93a7af0..f0a748e 100644
--- a/src/command_line.hh
+++ b/src/command_line.hh
@@ -160,8 +160,8 @@ class CommandLine :
/// --dl-ignore-installed
paludis::args::SwitchArg a_dl_ignore_installed;
- /// --dl-recursive-deps
- paludis::args::SwitchArg a_dl_recursive_deps;
+ /// --dl-no-recursive-deps
+ paludis::args::SwitchArg a_dl_no_recursive_deps;
/// --dl-max-stack-depth
paludis::args::IntegerArg a_dl_max_stack_depth;
diff --git a/src/install.cc b/src/install.cc
index 97328d7..1107e7a 100644
--- a/src/install.cc
+++ b/src/install.cc
@@ -105,7 +105,7 @@ do_install()
dep_list.set_drop_circular(CommandLine::get_instance()->a_dl_drop_circular.specified());
dep_list.set_drop_all(CommandLine::get_instance()->a_dl_drop_all.specified());
dep_list.set_ignore_installed(CommandLine::get_instance()->a_dl_ignore_installed.specified());
- dep_list.set_recursive_deps(CommandLine::get_instance()->a_dl_recursive_deps.specified());
+ dep_list.set_recursive_deps(! CommandLine::get_instance()->a_dl_no_recursive_deps.specified());
dep_list.set_max_stack_depth(CommandLine::get_instance()->a_dl_max_stack_depth.argument());
if (CommandLine::get_instance()->a_dl_rdepend_post.argument() == "always")