Subject: | Implement decorations |
Implement having OPTIONAL or REQUIRED ARGUMENTS in =head[1-4] sections,
not just in =head1. To do this properly probably requires using
Pod::Parser or a similar module that understands and parses the POD
structure.
In addition, this change will make a new feature possible. At the
moment, when calling --help, Getopt::Euclid ignores POD sections in the
OPTIONAL or REQUIRED ARGUMENTS that are not parameters (decorations),
like the 'General behavior' in the example below:
=head1 OPTIONS
=head2 General behaviour
You can customize the usage of mpd-dynamic with the following options:
=over 4 =item -o[ld] <old>
Once a proper POD parsing mechanism is in place in Getopt::Euclid a new
option can be given to allow outputting decorations in --help