Subject: | Add easy help adding/accessing |
I think it is cleaner to include a help string with the options, and
provide a default function to print the help strings in a "standard"
format. I've attached the modifications to the 0.18 version to add
this. The functions added are:
$opt->help([$desc])
returns a string represening the help strings
the optional $desc gives a string for the non-flag arguments
$opt->flag_help($flag)
returns the help text associated with $flag
Cheers, and thanks!
Subject: | Lucid.pm |
Message body is not shown because it is too large.