[Catalyst-commits] r10786 -
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script
dhoss at dev.catalyst.perl.org
dhoss at dev.catalyst.perl.org
Sat Jul 4 00:44:15 GMT 2009
Author: dhoss
Date: 2009-07-04 00:44:15 +0000 (Sat, 04 Jul 2009)
New Revision: 10786
Modified:
Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm
Log:
fork now has a short option
Modified: Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm 2009-07-04 00:41:40 UTC (rev 10785)
+++ Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm 2009-07-04 00:44:15 UTC (rev 10786)
@@ -17,15 +17,23 @@
has help => (
traits => [qw(Getopt)],
+ cmd_aliases => 'h',
isa => 'Bool',
is => 'ro',
required => 0,
- default => 0,
- cmd_aliases => 'h',
+ default => 0,
);
has host => ( isa => 'Str', is => 'ro', required => 0, default => "localhost" );
-has fork => ( isa => 'Bool', is => 'ro', required => 0 );
+
+has fork => (
+ traits => [qw(Getopt)],
+ cmd_aliases => 'f',
+ isa => 'Bool',
+ is => 'ro',
+ required => 0
+);
+
has listen => ( isa => 'Int', is => 'ro', required => 0, default => "3000" );
has pidfile => ( isa => 'Str', is => 'ro', required => 0 );
has keepalive => ( isa => 'Bool', is => 'ro', required => 0, default => 0 );
More information about the Catalyst-commits
mailing list