summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-12-07 16:19:48 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-12-07 16:19:48 +0100
commitff5037a07efcda5eabb453582c71586475c34b86 (patch)
tree196c795e7459dc0e1e4ad2ee1b363be845e912c5 /cmdline
parent47fea97bf8da8695ef0f998ef3b68a0bb0207133 (diff)
parentf23fc0e0903c9fdf3f57a2c46d1f57abb4655e5c (diff)
merged from debian-sid
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 79654f477..45ea50433 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -588,7 +588,7 @@ bool ShowDepends(CommandLine &CmdL, bool const RevDepends)
CacheSetHelperVirtuals helper(false);
APT::VersionSet verset = APT::VersionSet::FromCommandLine(CacheFile, CmdL.FileList + 1, APT::VersionSet::CANDIDATE, helper);
if (verset.empty() == true && helper.virtualPkgs.empty() == true)
- return false;
+ return _error->Error(_("No packages found"));
std::vector<bool> Shown(Cache->Head().PackageCount);
bool const Recurse = _config->FindB("APT::Cache::RecurseDepends", false);