summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cache.cc6
-rw-r--r--cmdline/apt-get.cc4
2 files changed, 5 insertions, 5 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 2e1d43ded..51db343f9 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cache.cc,v 1.14 1998/12/04 22:56:53 jgg Exp $
+// $Id: apt-cache.cc,v 1.15 1998/12/06 06:22:58 jgg Exp $
/* ######################################################################
apt-cache - Manages the cache files
@@ -32,7 +32,7 @@
/* */
bool UnMet(pkgCache &Cache)
{
- bool Important = _config->FindB("Important",false);
+ bool Important = _config->FindB("APT::Cache::Important",false);
for (pkgCache::PkgIterator P = Cache.PkgBegin(); P.end() == false; P++)
{
@@ -445,7 +445,7 @@ int main(int argc,const char *argv[])
{'p',"pkg-cache","Dir::Cache::pkgcache",CommandLine::HasArg},
{'s',"src-cache","Dir::Cache::srcpkgcache",CommandLine::HasArg},
{'q',"quiet","quiet",CommandLine::IntLevel},
- {'i',"important","Important",0},
+ {'i',"important","APT::Cache::Important",0},
{'c',"config-file",0,CommandLine::ConfigFile},
{'o',"option",0,CommandLine::ArbItem},
{0,0,0,0}};
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 652825903..e8035abd0 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.25 1998/12/06 06:22:01 jgg Exp $
+// $Id: apt-get.cc,v 1.26 1998/12/06 06:22:59 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -135,7 +135,7 @@ void ShowBroken(ostream &out,pkgDepCache &Cache)
pkgCache::DepIterator Start;
pkgCache::DepIterator End;
D.GlobOr(Start,End);
-
+
if (Cache.IsImportantDep(End) == false ||
(Cache[End] & pkgDepCache::DepGInstall) == pkgDepCache::DepGInstall)
continue;