[Catalyst-commits] r10791 - 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:53:17 GMT 2009


Author: dhoss
Date: 2009-07-04 00:53:16 +0000 (Sat, 04 Jul 2009)
New Revision: 10791

Modified:
   Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm
Log:
background now has a short opshun


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:51:35 UTC (rev 10790)
+++ Catalyst-Runtime/5.80/branches/better_scripts/lib/Catalyst/Script/Server.pm	2009-07-04 00:53:16 UTC (rev 10791)
@@ -65,7 +65,14 @@
     default => 0 
 );
 
-has background      => ( isa => 'Bool',   is => 'ro', required => 0 );
+has background => ( 
+    traits => [qw(Getopt)],
+    cmd_aliases => 'bg',
+    isa => 'Bool',   
+    is => 'ro', 
+    required => 0 
+);
+
 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 );




More information about the Catalyst-commits mailing list