Quoting Jonas Smedegaard (2019-11-17 21:50:54)
> Ah, indeed - I wasn't aware of that (and wonder if other tools in Debian
> suffer from same issue).
> 
> I suggest look at the package rename - from a quick experimentation it 
> seems to show source only for its more exotic --man option and not its 
> --help option.
> 
> Even if keeping code as-is, I'd argue that it makes more sense to relax 
> to only recommend perl-doc: Core functionality is unaffected and nothing
> explodes, it just "looks weird".

I think there is an easy solution. It indeed seems that executing pod2usage()
from Pod::Usage with -verbose=>1 does *not* require the package perl-doc and
prints the sections "synopsis" and "options" which I think is everything that
can be expected of the --help output. Only with -verbose=>2 is the perl-doc
package needed to avoid printing out the source code.

So after changing the call to pod2usage() from -verbose=>2 to -verbose=>1 for
the --help output we can completely drop the perl-doc dependency.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to