aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/resolve_cmdline.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-22 21:25:45 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-22 21:25:45 +0100
commit250954caec217fea30d097277fd877accb57d475 (patch)
tree8ca0a3f989a396b881502c0706bca324443c7b6b /src/clients/cave/resolve_cmdline.cc
parenta9c7b3713a0d96786f76b7efb22c1f7090d9c417 (diff)
downloadpaludis-250954caec217fea30d097277fd877accb57d475.tar.gz
paludis-250954caec217fea30d097277fd877accb57d475.tar.xz
Warn if an --option is specified multiple times
Diffstat (limited to 'src/clients/cave/resolve_cmdline.cc')
-rw-r--r--src/clients/cave/resolve_cmdline.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/resolve_cmdline.cc b/src/clients/cave/resolve_cmdline.cc
index ba9cc8f9a..82abf30f6 100644
--- a/src/clients/cave/resolve_cmdline.cc
+++ b/src/clients/cave/resolve_cmdline.cc
@@ -471,7 +471,7 @@ ResolveCommandLineResolutionOptions::apply_shortcuts()
if (! a_slots.specified())
a_slots.set_argument("best");
if (! a_no_follow_installed_dependencies.specified())
- a_no_follow_installed_dependencies.set_specified(true);
+ a_no_follow_installed_dependencies.set_specified(args::aos_weak);
}
if (a_complete.specified())
@@ -483,7 +483,7 @@ ResolveCommandLineResolutionOptions::apply_shortcuts()
if (! a_slots.specified())
a_slots.set_argument("all");
if (! a_follow_installed_build_dependencies.specified())
- a_follow_installed_build_dependencies.set_specified(true);
+ a_follow_installed_build_dependencies.set_specified(args::aos_weak);
if (! a_reinstall_scm.specified())
a_reinstall_scm.set_argument("weekly");
}
@@ -499,7 +499,7 @@ ResolveCommandLineResolutionOptions::apply_shortcuts()
if (! a_slots.specified())
a_slots.set_argument("all");
if (! a_follow_installed_build_dependencies.specified())
- a_follow_installed_build_dependencies.set_specified(true);
+ a_follow_installed_build_dependencies.set_specified(args::aos_weak);
}
}