[Catalyst-commits] r10789 - 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:51:12 GMT 2009


Author: dhoss
Date: 2009-07-04 00:51:12 +0000 (Sat, 04 Jul 2009)
New Revision: 10789

Modified:
   Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm
Log:
doez haz keepalive short opt


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:49:39 UTC (rev 10788)
+++ Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm	2009-07-04 00:51:12 UTC (rev 10789)
@@ -56,9 +56,17 @@
     required => 0 
 );
 
-has keepalive       => ( isa => 'Bool',   is => 'ro', required => 0, default => 0 );
+has keepalive => ( 
+    traits => [qw(Getopt)],
+    cmd_aliases => 'k',
+    isa => 'Bool',   
+    is => 'ro', 
+    required => 0, 
+    default => 0 
+);
+
 has background      => ( isa => 'Bool',   is => 'ro', required => 0 );
-has app             => ( isa => 'Str',    is => 'ro', required => 1 );
+has app             => ( isa => 'Str',    is => 'ro', required => 1 ); # THIS IS FUCKING RETARDED HALP PLZ
 has restart         => ( isa => 'Bool',   is => 'ro', required => 0 );
 has restart_delay   => ( isa => 'Int',    is => 'ro', required => 0 );
 has restart_regex   => ( isa => 'Str',    is => 'ro', required => 0 );




More information about the Catalyst-commits mailing list