Bug#839537: debsnap: --version has no effect
Christoph Biedl
debian.axhn at manchmal.in-ulm.de
Sat Oct 1 17:19:04 UTC 2016
Package: devscripts
Version: 2.16.7
Severity: minor
Tags: patch
Dear Maintainer,
the --version option of the debsnap program has no effect, shows the
generic help text, no version information. The one-liner below
seems appropriate.
Regards,
Christoph
--- /usr/bin/debsnap
+++ /tmp/debsnap
@@ -220,6 +220,7 @@
GetOptions(\%opt, 'verbose|v', 'destdir|d=s', 'force|f', 'help|h', 'version', 'first=s', 'last=s', 'list', 'binary', 'architecture|a=s@') || usage(1);
usage(0) if $opt{help};
+version if $opt{version};
usage(1) unless @ARGV;
$package = shift;
if (@ARGV) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20161001/4ea332c1/attachment.sig>
More information about the devscripts-devel
mailing list