Просмотр исходного кода

Fixed some more bugs
Author: jgg
Date: 1999-05-11 05:45:10 GMT
Fixed some more bugs

Arch Librarian лет назад: 22
Родитель
Сommit
2d6751b980
3 измененных файлов с 10 добавлено и 5 удалено
  1. 2 4
      cmdline/apt-cache.cc
  2. 2 0
      debian/changelog
  3. 6 1
      doc/apt-cache.8.yo

+ 2 - 4
cmdline/apt-cache.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: apt-cache.cc,v 1.34 1999/04/19 02:35:38 jgg Exp $
+// $Id: apt-cache.cc,v 1.35 1999/05/11 05:45:10 jgg Exp $
 /* ######################################################################
    
    apt-cache - Manages the cache files
@@ -176,9 +176,7 @@ bool DumpPackage(CommandLine &CmdL)
       }
       cout << "Reverse Provides: " << endl;
       for (pkgCache::PrvIterator Prv = Pkg.ProvidesList(); Prv.end() != true; Prv++)
-	 cout << Prv.OwnerPkg().Name() << " " << Prv.OwnerVer().VerStr();
-      cout << endl;
-            
+	 cout << Prv.OwnerPkg().Name() << " " << Prv.OwnerVer().VerStr() << endl;            
    }
 
    return true;

+ 2 - 0
debian/changelog

@@ -12,6 +12,8 @@ apt (0.3.5) unstable; urgency=low
     recovery. Closes: #35931
   * Fixed autoconf verison. Closes: #37305
   * Random Segfaulting. Closes: #37312
+  * Fixed apt-cache man page. Closes: #36904
+  * Added a newline to apt-cache showpkg. Closes: #36903
   
  -- Adam Heath <doogie@debian.org>  Sun,  4 Apr 1999 18:26:44 -0500
 

+ 6 - 1
doc/apt-cache.8.yo

@@ -15,13 +15,14 @@ itemize(
   it() add file1 [file2] [...]
   it() gencaches
   it() showpkg package1 [package2] [...]
-  it() stats 
+  it() stats
   it() dump
   it() dumpavail
   it() unmet
   it() check
   it() search
   it() show
+  it() showpkg
 )
 
 Unless the -h, or --help option is given one of the above commands
@@ -137,6 +138,10 @@ dit(bf(check))
 bf(check) is a random function for testing certain aspects of the cache.
 Do not use it.
 
+dit(bf(showpkg))
+bf(showpkg) displays a listing of the given package cache structure and some
+related information about it. The list is ment primarily for debugging.
+
 dit(bf(show))
 bf(show) performs the same function as dpkg --print-avail, it displays
 the package records for the named packages.