apt-cache.cc: added APT::Cache::DumpPackages option
This commit is contained in:
parent
e78206f1e5
commit
81c112101f
@ -356,6 +356,7 @@ bool Dump(CommandLine &Cmd)
|
||||
pkgCache &Cache = *GCache;
|
||||
cout << "Using Versioning System: " << Cache.VS->Label << endl;
|
||||
|
||||
if (_config->FindB("APT::Cache::DumpPackages",true) == true)
|
||||
for (pkgCache::PkgIterator P = Cache.PkgBegin(); P.end() == false; P++)
|
||||
{
|
||||
cout << "Package: " << P.Name() << endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user