* scripts/dpkg-scanpackages.pl: Fix some bugs introduced by
the rewrite.
+ * man/C/dpkg-source.1: Document that the -sX switches for
+ dpkg-source are mutually exclusive and only one can be in
+ effect.
+ * scripts/dpkg-source.pl: Warn if more than one -sX switch
+ is specified on the command line.
+
2006-01-29 Don Armstrong <don@debian.org>
* scripts/dpkg-scanpackages.pl: Rewrite the script to support
* dpkg-scanpackages outputs help when given the --help or -h option
(Don Armstrong). Closes: #319541
* Document dpkg-scanpackage -m in man page.
+ * Let warn dpkg-source if more than one -sX option was given and
+ document the behaviour in this case in the man page.
+ Closes: #246637
-- Guillem Jover <guillem@debian.org> Sun, 29 Jan 2006 06:02:58 +0200
ensures that the original source is neither copied to the current
directory nor unpacked. Any original source tree that was in the
current directory is still removed.
+.PP
+All the
+.B \-sX
+options are mutually exclusive. If you specify more than one only the
+last one will be used.
.SH dpkg\-GENCONTROL OPTIONS
.B dpkg\-gencontrol
does not take any non-option arguments.
} elsif (m/^-x$/) {
&setopmode('extract');
} elsif (m/^-s([akpursnAKPUR])$/) {
+ &warn( "-s$1 option overrides earlier -s$sourcestyle option" )
+ if $sourcestyle ne 'X';
$sourcestyle= $1;
} elsif (m/^-c/) {
$controlfile= $';