msimerson / mail-dmarc

Mail::DMARC, a complete DMARC implementation in Perl
Other
33 stars 23 forks source link

Print full syntax guide with "dmarc_view_reports --help" #198

Closed Hopper262 closed 3 years ago

Hopper262 commented 3 years ago

Because pod2usage prints only the SYNOPSIS section by default, the --help argument to dmarc_view_reports does not output any of the available option names.

This PR merges the DESCRIPTION section into SYNOPSIS, so --help prints the full syntax guide. This matches the documentation's description of the help option. An alternative approach would be to change the pod2usage call to print additional sections.