aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-10-13 14:54:03 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-10-13 14:54:03 +0000
commit169234e57fd0cf73c0403329c1c1fe717ae7ba05 (patch)
tree481682a65adde7c087aed97248402bdde7b5c9ad
parent56664cf9ad126ffc3b4f6717ca6993ca5329db7f (diff)
downloadpaludis-169234e57fd0cf73c0403329c1c1fe717ae7ba05.tar.gz
paludis-169234e57fd0cf73c0403329c1c1fe717ae7ba05.tar.xz
...and make it work
-rw-r--r--src/paludis/paludis.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/paludis/paludis.cc b/src/paludis/paludis.cc
index 77c4b88..939f29f 100644
--- a/src/paludis/paludis.cc
+++ b/src/paludis/paludis.cc
@@ -162,21 +162,29 @@ main(int argc, char *argv[])
{
Log::get_instance()->message(ll_warning, lc_no_context, "--dl-no-unnecessary-upgrades / -U is deprecated");
CommandLine::get_instance()->dl_upgrade.set_argument("as-needed");
+ CommandLine::get_instance()->dl_upgrade.set_specified(true);
}
if (CommandLine::get_instance()->a_dl_drop_all.specified())
{
Log::get_instance()->message(ll_warning, lc_no_context, "--dl-drop-all / -0 is deprecated");
CommandLine::get_instance()->dl_installed_deps_pre.set_argument("discard");
+ CommandLine::get_instance()->dl_installed_deps_pre.set_specified(true);
CommandLine::get_instance()->dl_installed_deps_post.set_argument("discard");
+ CommandLine::get_instance()->dl_installed_deps_post.set_specified(true);
CommandLine::get_instance()->dl_installed_deps_runtime.set_argument("discard");
+ CommandLine::get_instance()->dl_installed_deps_runtime.set_specified(true);
CommandLine::get_instance()->dl_uninstalled_deps_pre.set_argument("discard");
+ CommandLine::get_instance()->dl_uninstalled_deps_pre.set_specified(true);
CommandLine::get_instance()->dl_uninstalled_deps_post.set_argument("discard");
+ CommandLine::get_instance()->dl_uninstalled_deps_post.set_specified(true);
CommandLine::get_instance()->dl_uninstalled_deps_runtime.set_argument("discard");
+ CommandLine::get_instance()->dl_uninstalled_deps_runtime.set_specified(true);
}
if (CommandLine::get_instance()->a_dl_ignore_installed.specified())
{
Log::get_instance()->message(ll_warning, lc_no_context, "--dl-ignore-installed / -e is deprecated");
CommandLine::get_instance()->dl_reinstall.set_argument("always");
+ CommandLine::get_instance()->dl_reinstall.set_specified("always");
}
/* need an action */