aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2009-02-01 14:20:44 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2009-02-01 14:20:44 +0000
commitab227850cb3a206000714b0dac628d544cb93f5c (patch)
tree2ad91803e51c84fb25b0b5434b718a7b6f046bef
parentf98d139f05b78f0e775c279f755c098ac1341265 (diff)
downloadpaludis-ab227850cb3a206000714b0dac628d544cb93f5c.tar.gz
paludis-ab227850cb3a206000714b0dac628d544cb93f5c.tar.xz
Allow wildcards for --contents and --executables
-rw-r--r--src/clients/paludis/do_contents.cc2
-rw-r--r--src/clients/paludis/do_executables.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/paludis/do_contents.cc b/src/clients/paludis/do_contents.cc
index e2bf15b..237f543 100644
--- a/src/clients/paludis/do_contents.cc
+++ b/src/clients/paludis/do_contents.cc
@@ -93,7 +93,7 @@ do_one_contents(
Context local_context("When handling query '" + q + "':");
std::tr1::shared_ptr<PackageDepSpec> spec(new PackageDepSpec(
- parse_user_package_dep_spec(q, env.get(), UserPackageDepSpecOptions(),
+ parse_user_package_dep_spec(q, env.get(), UserPackageDepSpecOptions() + updso_allow_wildcards,
filter::InstalledAtRoot(env->root()))));
std::tr1::shared_ptr<const PackageIDSequence> entries(
diff --git a/src/clients/paludis/do_executables.cc b/src/clients/paludis/do_executables.cc
index 90cfa18..e3c2bf3 100644
--- a/src/clients/paludis/do_executables.cc
+++ b/src/clients/paludis/do_executables.cc
@@ -123,7 +123,7 @@ do_one_executables(
Context local_context("When handling query '" + q + "':");
std::tr1::shared_ptr<PackageDepSpec> spec(new PackageDepSpec(
- parse_user_package_dep_spec(q, env.get(), UserPackageDepSpecOptions(),
+ parse_user_package_dep_spec(q, env.get(), UserPackageDepSpecOptions() + updso_allow_wildcards,
filter::InstalledAtRoot(env->root()))));
std::tr1::shared_ptr<const PackageIDSequence> entries(