aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_print_spec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_print_spec.cc')
-rw-r--r--src/clients/cave/cmd_print_spec.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_print_spec.cc b/src/clients/cave/cmd_print_spec.cc
index a693bcf..a967aec 100644
--- a/src/clients/cave/cmd_print_spec.cc
+++ b/src/clients/cave/cmd_print_spec.cc
@@ -258,7 +258,10 @@ namespace
a_end(cmdline.a_additional_requirement.end_args()) ;
a != a_end ; ++a)
if (! a->empty())
- s.additional_requirement(std::make_shared<UserKeyRequirement>(*a));
+ {
+ auto k(parse_user_key_constraint(*a));
+ s.key_constraint(std::get<0>(k), std::get<1>(k), std::get<2>(k));
+ }
}
cout << PackageDepSpec(s) << endl;