X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FCreate.pm;h=593323dc1e03d74617eb5c9d4b8abd8a22533a7e;hp=1308acd7acb166d60756fe93a3ca472c76decb37;hb=8ba2999969105bb9079e0c42473d88e4b73e079a;hpb=f831720babc4818823ec8628dcc1bd032ed8220c diff --git a/lib/Catalyst/Script/Create.pm b/lib/Catalyst/Script/Create.pm index 1308acd..593323d 100644 --- a/lib/Catalyst/Script/Create.pm +++ b/lib/Catalyst/Script/Create.pm @@ -39,13 +39,13 @@ sub _build_helper_class { 'Catalyst::Helper' } sub run { my ($self) = @_; - $self->_getopt_full_usage if !$self->ARGV->[0]; + $self->print_usage_text if !$self->ARGV->[0]; my $helper_class = $self->helper_class; Class::MOP::load_class($helper_class); my $helper = $helper_class->new( { '.newfiles' => !$self->force, mech => $self->mechanize } ); - $self->_getopt_full_usage unless $helper->mk_component( $self->application_name, @{$self->extra_argv} ); + $self->print_usage_text unless $helper->mk_component( $self->application_name, @{$self->extra_argv} ); }