aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_find_candidates.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-14 18:13:34 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-14 18:13:34 +0000
commit3a6bcd7033c526aca5d2e6d94b5cf688c11013e6 (patch)
tree489727c42f4cda0479e36703aa67fb24821e2333 /src/clients/cave/cmd_find_candidates.hh
parent1159e9fd770b98a8aa2cd2e505ef7fc8f899390c (diff)
downloadpaludis-3a6bcd7033c526aca5d2e6d94b5cf688c11013e6.tar.gz
paludis-3a6bcd7033c526aca5d2e6d94b5cf688c11013e6.tar.xz
Don't stop searching after a broken package
Diffstat (limited to 'src/clients/cave/cmd_find_candidates.hh')
-rw-r--r--src/clients/cave/cmd_find_candidates.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_find_candidates.hh b/src/clients/cave/cmd_find_candidates.hh
index 5929c703b..382c6be23 100644
--- a/src/clients/cave/cmd_find_candidates.hh
+++ b/src/clients/cave/cmd_find_candidates.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2010 Ciaran McCreesh
+ * Copyright (c) 2010, 2011 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -39,14 +39,14 @@ namespace paludis
const std::shared_ptr<const Sequence<std::string > > & args
);
- void run_hosted(
+ int run_hosted(
const std::shared_ptr<Environment> &,
const SearchCommandLineCandidateOptions &,
const SearchCommandLineMatchOptions &,
const SearchCommandLineIndexOptions &,
const std::string &,
const std::function<void (const PackageDepSpec &)> &,
- const std::function<void (const std::string &)> &);
+ const std::function<void (const std::string &)> &) PALUDIS_ATTRIBUTE((warn_unused_result));
std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
};