Bug#958946: libparse-debianchangelog-perl: "Unknown option: s" despite the following help message advertises "-s"

Axel Beckert abe at debian.org
Mon Apr 27 04:22:52 BST 2020


Package: libparse-debianchangelog-perl
Version: 1.2.0-13
Severity: normal

parsechangelog's usage message is inconsistent with regards to
implemented options (highlighting with ^ added by myself):

$ parsechangelog -s 12.1.1 ~/debhelper/debhelper/debian/changelog
Unknown option: s
^^^^^^^^^^^^^^^^^
Usage:
    parsechangelog [options] [changelogfile]

     Options:
        --help, -h                  print usage information
        --version, -V               print version information
        --file, -l <file>           changelog file to parse, defaults
                                    to 'debian/changelog'
        -F<changelogformat>         ignored if changelogformat = 'debian'
                                    for compatibility with dpkg-dev
        -L<libdir>                  ignored for compatibility with dpkg-dev
        --format <outputformat>     see man page for list of available
                                    output formats, defaults to 'dpkg'
                                    for compatibility with dpkg-dev
        --since, -s, -v <version>   include all changes later than version
                ^^^^
        --until, -u <version>       include all changes earlier than version
        --from, -f <version>        include all changes equal or later
                                    than version
        --to, -t <version>          include all changes up to or equal
                                    than version
        --count, -c, -n <number>    include <number> entries from the top
                                    (or the tail if <number> is lower than 0)
        --offset, -o <number>       change the starting point for --count,
                                    counted from the top (or the tail if
                                    <number> is lower than 0)
        --all                       include all changes

    If neither "changelogfile" nor "-l <file>" are specified,
    debian/changelog will be used. If two different files are specified the
    program will abort.

    If the filename is "-" the program reads the changelog from standard
    input.

    "--all" overrides all other range selecting options. "--count" overrides
    all other range selection options except for "--all". The range
    selecting options can be mixed together, but only one of "--since" and
    "--from" and one of "--until" and "--to" can be specified at the same
    time.

    The dpkg and rfc822 formats default to showing only the first entry when
    no other options are given with while the HTML and XML formats default
    to showing all entries.

    For a more extensive documentation of the range selecting options and
    some (hopefully enlightening) examples see "COMMON OUTPUT OPTIONS" in
    Parse::DebianChangelog.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages libparse-debianchangelog-perl depends on:
ii  libcgi-pm-perl          4.46-1
ii  libclass-accessor-perl  0.51-1
ii  libio-string-perl       1.08-3
ii  liblocale-gettext-perl  1.07-4
ii  libtimedate-perl        2.3200-1
ii  perl                    5.30.0-10

libparse-debianchangelog-perl recommends no packages.

Versions of packages libparse-debianchangelog-perl suggests:
ii  libhtml-parser-perl    3.72-5
ii  libhtml-template-perl  2.97-1
ii  libxml-simple-perl     2.25-1

-- no debconf information



More information about the pkg-perl-maintainers mailing list