version 0.03
[catagits/CatalystX-Script-Server-Starman.git] / lib / CatalystX / Script / Server / Starman.pm
index ce297d9..80c0ed3 100644 (file)
@@ -5,7 +5,7 @@ use Pod::Usage;
 use Pod::Find qw(pod_where);
 use namespace::autoclean;
 
-our $VERSION = '0.01';
+our $VERSION = '0.03';
 
 extends 'Catalyst::Script::Server';
 
@@ -52,7 +52,7 @@ around _plack_loader_args => sub {
     return %out;
 };
 
-sub _getopt_full_usage {
+sub print_usage_text {
     my $self = shift;
     pod2usage( -input => pod_where({-inc => 1}, __PACKAGE__), -verbose => 2 );
     exit 0;
@@ -69,8 +69,6 @@ CatalystX::Script::Server::Starman - Replace the development server with Starman
     myapp_server.pl [options]
 
        -d --debug           force debug mode
-       -f --fork            handle each request in a new process
-                            (defaults to false)
        -? --help            display this help and exits
        -h --host            host (defaults to all)
        -p --port            port (defaults to 3000)
@@ -107,9 +105,12 @@ added by hacking your server script.
 
 =head1 Adding this to your application
 
-Just write a server script in your application which inherits from this
+Just add a server script module to your application which inherits from this
 package.
 
+L<Catalyst::ScriptRunner> will automatically detect and use it when
+script/myapp_server.pl is started.
+
 For example:
 
     package MyApp::Script::Server;
@@ -128,7 +129,7 @@ L<Catalyst::PSGI>
 
 =head1 AUTHOR
 
-Tomas Doran (t0m) C<< <bobtfish@bobtfish.net >>
+Tomas Doran (t0m) C<< <bobtfish@bobtfish.net> >>
 
 =head1 COPYRIGHT & LICENSE