From: Tomas Doran Date: Tue, 29 Jan 2013 20:18:40 +0000 (+0000) Subject: If it's a public method, document it X-Git-Tag: 5.90020~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=d0a1ec3671580e68252239b2ab5a503fc94b6ed8 If it's a public method, document it --- diff --git a/lib/Catalyst/ScriptRole.pm b/lib/Catalyst/ScriptRole.pm index 2b46097..797a0d7 100644 --- a/lib/Catalyst/ScriptRole.pm +++ b/lib/Catalyst/ScriptRole.pm @@ -57,9 +57,6 @@ sub _getopt_spec_warnings { warn @_; } -=for Pod::Coverage - print_usage_text -=cut sub print_usage_text { my $self = shift; pod2usage(); @@ -127,6 +124,10 @@ Role with the common functionality of Catalyst scripts. The method invoked to run the application. +=head2 print_usage_text + +Prints out the useage text for the script you tried to invoke. + =head1 ATTRIBUTES =head2 application_name