Package: help2man
Version: 1.47.16
Severity: normal

help2man is too restrictive with regards to the version string.  Often
a program does not support the --version flag at all, but help2man
does not handle that tidily.  The only way you can manage that is to
set --version-string explicitly.

Other times you simply might not want to use the version string even
if it is available.

But you can't set

  help2man --version-string=""

An empty string gives an error:
  Option version-string requires an argument

So the version string handling is too restrictive. A better default
(in my opinion) is to use an empty version string if the command does
not provide one, and to make it possible to set --version-string=""


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

Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages help2man depends on:
ii  dpkg                    1.20.5
ii  install-info            6.7.0.dfsg.2-5
ii  libc6                   2.31-4
ii  liblocale-gettext-perl  1.07-4
ii  perl                    5.30.3-4

help2man recommends no packages.

help2man suggests no packages.

-- no debconf information

Reply via email to