Package: dwww
Version: 1.13.5
Severity: normal

Hi.

I believe that the `usage:` message for dwww-find has an error.


Here is how you observe and confirm this:

1) Run `$ man dwww-find` and observe that dwww-find only spells out a
`--program` option, not a `--package` option.

2) Run `# /usr/sbin/dwww-find` and observe that the usage message says:

    usage: dwww-find [--package  ...

It doesn't make sense to get a man page for a package.  In fact a package could
have more than one man page.

3) Furthermore, you can run `# /usr/sbin/dwww-find mysql` and you can see that
the man page for the mysql COMMAND is actually contained in the html.

4) Finally, you can run `# /usr/sbin/dwww-find mariadb-client-core | grep 'Not
found!'`, and although this is a valid package, no content for the html man
page is found.





To fix replace the word 'package' with 'program' in

dwww-1.13.5/scripts/dwww-find .



-- System Information:
Debian Release: 10.4
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages dwww depends on:
ii  apache2 [httpd-cgi]    2.4.38-3+deb10u3
ii  debconf [debconf-2.0]  1.5.71
ii  debianutils            4.8.6.1
ii  doc-base               0.10.8
ii  file                   1:5.35-4+deb10u1
ii  libc6                  2.28-10
ii  libfile-ncopy-perl     0.36-2
ii  libmime-types-perl     2.17-1
ii  man-db                 2.8.5-2
ii  mime-support           3.62
ii  perl                   5.28.1-6
ii  sensible-utils         0.0.12
ii  ucf                    3.0038+nmu1

Versions of packages dwww recommends:
ii  apache2 [httpd]  2.4.38-3+deb10u3
ii  apt              1.8.2.1
ii  dlocate          1.07+nmu1
ii  info2www         1.2.2.9-24
ii  swish++          6.1.5-5

Versions of packages dwww suggests:
ii  chromium [www-browser]              80.0.3987.162-1~deb10u1
ii  doc-debian                          6.4
pn  dpkg-www                            <none>
ii  google-chrome-stable [www-browser]  83.0.4103.106-1
ii  lynx [www-browser]                  2.8.9rel.1-3
ii  w3m [www-browser]                   0.5.3-37

-- Configuration Files:
/etc/apache2/conf-available/dwww.conf changed [not included]

-- debconf information excluded

Reply via email to