diff options
author | Frank Lichtenheld <djpig@debian.org> | 2006-01-29 17:30:28 +0000 |
---|---|---|
committer | Frank Lichtenheld <djpig@debian.org> | 2006-01-29 17:30:28 +0000 |
commit | 027e9bffc6d9b18446feb44b86fdad515e8db7bb (patch) | |
tree | 9672dd11b78dbb807692405c04de6e8412961e72 /man | |
parent | 55c873a538f6664703a48d61a57934b069d260d1 (diff) | |
download | dpkg-027e9bffc6d9b18446feb44b86fdad515e8db7bb.tar.gz |
* man/C/dpkg-scanpackages.1: Document new dpkg-scanpackages
-m option.
* scripts/dpkg-scanpackages.pl: Rewrite the script to support
multiple versions of packages in a single Packages file;
use Getopt::Long instead of attempting to parse the command line
ourselves and doing it badly;
get rid of unecessary hashes and arrays that aren't used at all;
output help when given the --help/-h/-? options
Closes: #229589, #319541
Diffstat (limited to 'man')
-rw-r--r-- | man/C/dpkg-scanpackages.1 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/C/dpkg-scanpackages.1 b/man/C/dpkg-scanpackages.1 index fcc6960cb..91a1615cf 100644 --- a/man/C/dpkg-scanpackages.1 +++ b/man/C/dpkg-scanpackages.1 @@ -21,6 +21,7 @@ dpkg\-scanpackages - create Packages files .B dpkg\-scanpackages .RI [ \-u ] .RI [ \-a<arch> ] +.RI [ \-m ] .I binarydir .I overridefile .RI [ pathprefix ] @@ -59,6 +60,12 @@ is specified, then scan for *.udeb, instead of *.deb. .PP When \-a\fI<arch>\fP is specified, then instead of scanning for all debs, a pattern consisting of *_all.deb and *_arch.deb is used. +.PP +If more than one version of a package is found only the newest one +is included in the output. If they have the same version and only +differ in architecture only the first one found is used. You can override +this behaviour with the \fI\-m\fP switch. If given, all found packages +are included in the output. . .SH THE OVERRIDE FILE While most information about a package can be found in the control file, |