X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FServer.pm;h=482f9abdd1ded663aeb75f1541b9fa7868596c01;hb=3954573cd67a8e7fcf46e5f01e87dab6edc2c022;hp=a830978b022f0778697d7f6be256e9f2bf21572f;hpb=b6aaf1425b4cbfb286ca02817ea111fa3f6b9bc5;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Script/Server.pm b/lib/Catalyst/Script/Server.pm index a830978..482f9ab 100644 --- a/lib/Catalyst/Script/Server.pm +++ b/lib/Catalyst/Script/Server.pm @@ -65,7 +65,14 @@ has keepalive => ( 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 );