aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_import.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/cmd_import.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/cmd_import.cc')
-rw-r--r--src/clients/cave/cmd_import.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_import.cc b/src/clients/cave/cmd_import.cc
index d7a59a638..55a01cf8f 100644
--- a/src/clients/cave/cmd_import.cc
+++ b/src/clients/cave/cmd_import.cc
@@ -300,7 +300,7 @@ ImportCommand::run(
resolve_cmdline.resolution_options.verify(env);
if (cmdline.a_execute.specified())
- resolve_cmdline.resolution_options.a_execute.set_specified(true);
+ resolve_cmdline.resolution_options.a_execute.set_specified(args::aos_specified);
std::shared_ptr<Sequence<std::pair<std::string, std::string> > > targets(std::make_shared<Sequence<std::pair<std::string, std::string> >>());
targets->push_back(std::make_pair(stringify((*ids->begin())->name()), ""));