]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cache.cc
* apt-pkg/deb/dpkgpm.cc:
[apt.git] / cmdline / apt-cache.cc
index 7d7f58a62b9dd4483e9478cd164844f599977093..4e68246fba1d5c4d057e3af4bb3fa999a308caf4 100644 (file)
@@ -1273,7 +1273,9 @@ bool DisplayRecord(pkgCache::VerIterator V)
    return true;
 }
                                                                        /*}}}*/
-
+// Search - Perform a search                                           /*{{{*/
+// ---------------------------------------------------------------------
+/* This searches the package names and package descriptions for a pattern */
 struct ExDescFile
 {
    pkgCache::DescFile *Df;
@@ -1620,7 +1622,7 @@ bool Policy(CommandLine &CmdL)
            if (SrcList->FindIndex(VF.File(),Indx) == false &&
                _system->FindIndex(VF.File(),Indx) == false)
               return _error->Error(_("Cache is out of sync, can't x-ref a package file"));
-           printf(_("       %4i %s\n"),Plcy.GetPriority(VF.File()),
+           printf("       %4i %s\n",Plcy.GetPriority(VF.File()),
                   Indx->Describe(true).c_str());
         }       
       }