Merge branch 'master' into psgi
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / CGI.pm
index 7e090d4..dc7f20f 100644 (file)
@@ -1,8 +1,9 @@
 package Catalyst::Script::CGI;
 use Moose;
-BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
 use namespace::autoclean;
 
+sub _plack_engine_name { 'CGI' }
+
 with 'Catalyst::ScriptRole';
 
 __PACKAGE__->meta->make_immutable;
@@ -13,11 +14,14 @@ Catalyst::Script::CGI - The CGI Catalyst Script
 
 =head1 SYNOPSIS
 
-See L<Catalyst>.
+  myapp_cgi.pl [options]
+
+  Options:
+  -?     --help           display this help and exits
 
 =head1 DESCRIPTION
 
-FIXME
+This is a script to run the Catalyst engine specialized for the CGI environment.
 
 =head1 AUTHORS