Open markpitchless opened 12 years ago
Started work on this in the pod-usage branch.
First bit is done, --man works and POD sections get read to generate the the full message. Man is generated at run time from the meta data.
So now just need a way to build the POD at build time as well.
This will add a --man option that generates the man page from the POD using getopt usage. Include generated pod from the meta info ie inject a USAGE section.
Read the USAGE section from the POD for use in the message generated via --help. Allow pod to be used as the format setting in effect.
Must be done with minimal dependancies on the install side. No pulling a load of POD weaving mods just for this. However we really want the generated pod to go into the man page generated at install time, which could be achieved with more author side deps.
On 17 March 2012 16:09, Tomas Doran bobtfish@bobtfish.net wrote: