Package: extrepo
Version: 0.8
Severity: minor
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Here's a sample interaction:

--8<--
$ extrepo --help
Usage:
/usr/bin/extrepo search search for repositories
/usr/bin/extrepo update update a repository to the latest metadata
/usr/bin/extrepo disable        disable an extrepo-configured repository
/usr/bin/extrepo enable (re-)enable an extrepo repository

For more info, please read extrepo(1)
syntax error at (eval 13) line 1, near "Debian::ExtRepo::Commands::--"
        ...propagated at /usr/bin/extrepo line 123.

$ extrepo help
Undefined subroutine &Debian::ExtRepo::Commands::Help::run called at (eval 13)
line 1.
        ...propagated at /usr/bin/extrepo line 123.
--8<--

Firstly, the syntax error is somewhat unseemly.  The second, is that, typically
for a command with sub-commands, 'help' is usually an useful subcommand.  Also,
often, help on subcommands is found on one or both of:

  extrepo help search
  extrepo search --help

Neither of with has useful behaviour,

--8<--
$ extrepo help search
Undefined subroutine &Debian::ExtRepo::Commands::Help::run called at (eval 13)
line 1.
        ...propagated at /usr/bin/extrepo line 123.

$ extrepo search --help


No matches found for --help
--8<--



-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages extrepo depends on:
ii  gpgv                  2.2.20-1
ii  libcryptx-perl        0.068-1
ii  libdpkg-perl          1.20.5
ii  libwww-perl           6.46-1
ii  libyaml-libyaml-perl  0.82+repack-1
ii  perl                  5.30.3-4

extrepo recommends no packages.

extrepo suggests no packages.

-- Configuration Files:
/etc/extrepo/config.yaml changed:
---
url: http://extrepo-team.pages.debian.net/extrepo-data
dist: debian
version: bullseye
enabled_policies:
- main
- contrib
- non-free


-- no debconf information

Reply via email to