X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FCGI.pm;h=3a9f449b181c70f151fc79c61a38a7e738eb7cea;hb=b6722bdd672b42bbb8f70d77f5495f373b830b3c;hp=2fd965cca6b225db7604a6a9335b1e49097d6a63;hpb=0e4038c63189b155c40e50c9d8c26f618e1f9814;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Script/CGI.pm b/lib/Catalyst/Script/CGI.pm index 2fd965c..3a9f449 100644 --- a/lib/Catalyst/Script/CGI.pm +++ b/lib/Catalyst/Script/CGI.pm @@ -1,11 +1,10 @@ package Catalyst::Script::CGI; use Moose; -BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' } use namespace::autoclean; -with 'Catalyst::ScriptRole'; +sub _plack_engine_name { 'CGI' } -__PACKAGE__->meta->get_attribute('help')->cmd_aliases('h'); +with 'Catalyst::ScriptRole'; __PACKAGE__->meta->make_immutable; @@ -15,12 +14,19 @@ Catalyst::Script::CGI - The CGI Catalyst Script =head1 SYNOPSIS -See L. + myapp_cgi.pl [options] + + Options: + -? --help display this help and exits =head1 DESCRIPTION This is a script to run the Catalyst engine specialized for the CGI environment. +=head1 SEE ALSO + +L + =head1 AUTHORS Catalyst Contributors, see Catalyst.pm