From: Todd Hepler Date: Thu, 1 May 2008 15:41:20 +0000 (+0000) Subject: added links to the traits X-Git-Tag: 0_15~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2814de271834cb33fc9710088537c173b17b52eb;p=gitmo%2FMooseX-Getopt.git added links to the traits --- diff --git a/ChangeLog b/ChangeLog index 7efb4d8..874a5c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ Revision history for Perl extension MooseX-Getopt been loaded from config (MooseX::ConfigFromFile) - Support for MooseX::ConfigFromFile shouldn't require that role be added at the same level as Getopt. + - fixed miscapitalization of NoGetopt in the docs + - added links to the traits in the docs 0.12 Fri. March 14, 2008 ~~ updated copyright dates ~~ diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index 3c0f308..a6ea8b9 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -242,10 +242,12 @@ of your attribute as the command line option, and if there is a type constraint defined, it will configure Getopt::Long to handle the option accordingly. -You can use the attribute metaclass L -to get non-default commandline option names and aliases. +You can use the trait L or the +attribute metaclass L to get non-default +commandline option names and aliases. -You can use the attribute metaclass L +You can use the trait L +or the attribute metaclass L to have C ignore your attribute in the commandline options. By default, attributes which start with an underscore are not given