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) {

Attachment: signature.asc
Description: Digital signature

Reply via email to