Revert "work with MooseX::Getopt 0.48 by using the new public method for printing...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / ScriptRole.pm
index 50949c7..b1ddc27 100644 (file)
@@ -17,7 +17,7 @@ with 'MooseX::Getopt' => {
     -excludes => [qw/
         _getopt_spec_warnings
         _getopt_spec_exception
-        print_usage_text
+        _getopt_full_usage
     /],
 };
 
@@ -56,7 +56,7 @@ sub _getopt_spec_warnings {
     warn @_;
 }
 
-sub print_usage_text {
+sub _getopt_full_usage {
     my $self = shift;
     pod2usage();
     exit 0;