Package: help2man
Version: 1.40.9
Severity: normal
Dear Maintainer,
Consider 'cdck' a util and package name. Its command
line help isn't very unusual:
% cdck -h
Usage: cdck [-d /dev/devname] [-i] [-v] [-p] [-o plot-file.dat]
-d CD/DVD device name, default is /dev/cdrom
-i Print CD/DVD information and quit, perform no timings (default mode)
-t Perform timing test
-p Save data for gnuplot(1) program
-o specify plot file, ./cdck-plot.dat is default
-V Print version
-v Verbose operations
>From which, 'help2man' outputs duplicate lines:
# run 'help2man', prettify with 'man', sort the results,
# count the dups, sort again by number, then show the doubles.
% help2man cdck | man -l - | sort | uniq -c | sort -g | grep " 2 "
2 -V Print version
2 -d CD/DVD device name, default is /dev/cdrom
2 -i Print CD/DVD information and quit, perform no timings
(default mode)
2 -o specify plot file, ./cdck-plot.dat is default
2 -p Save data for gnuplot(1) program
2 -t Perform timing test
2 -v Verbose operations
I'd guess that since 'cdck' lacks '--help' and '--version' options, 'help2man'
checks for both, and comes up with the above.
Possible fix: check if any duplicate switches exist, if so print only one of
each.
HTH...
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages help2man depends on:
ii dpkg 1.16.3
ii install-info 4.13a.dfsg.1-10
ii libc6 2.13-32
ii liblocale-gettext-perl 1.05-7+b1
ii perl 5.14.2-10
help2man recommends no packages.
help2man suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]