Package: devscripts
Version: 2.8.6
Severity: normal
Tags: patch

Attempting to pass this option results in output like:

    $ bts -o bugs
    bts: Unknown option, "-o"
    Run bts --help for more information

I'm attaching a patch which fixes what would appear to be a simple
oversight in the option handling code.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-server
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages devscripts depends on:
ii  debianutils                 2.11.2       Miscellaneous utilities specific t
ii  dpkg-dev                    1.10.25      Package building tools for Debian
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  perl                        5.8.4-5      Larry Wall's Practical Extraction 

-- no debconf information
--- /usr/bin/bts        2004-12-28 21:57:14.000000000 +0200
+++ bts 2005-01-10 15:40:11.000000000 +0200
@@ -285,7 +285,7 @@
        elsif ($option eq 'online' || $option =~ /^no-?offline$/) {
            $offlinemode=0;
        }
-       if ($option eq 'cache') {
+       elsif ($option eq 'cache') {
            $cachemode=1;
        }
        elsif ($option =~ /^no-?cache$/) {

Reply via email to