Преглед изворни кода

Stuff
Author: jgg
Date: 1998-12-06 06:22:58 GMT
Stuff

Arch Librarian пре 22 година
родитељ
комит
76fbce5657
2 измењених фајлова са 5 додато и 5 уклоњено
  1. 3 3
      cmdline/apt-cache.cc
  2. 2 2
      cmdline/apt-get.cc

+ 3 - 3
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}};

+ 2 - 2
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;