X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FFastCGI.pm;h=ba7f09613419013afa5d842c689b66ddad5ca80a;hb=0e4038c63189b155c40e50c9d8c26f618e1f9814;hp=d76727d56aa145cfd70b09ef10ca603e13f49e01;hpb=53c6ec790d76534dbc253ae483c109dc086004aa;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Script/FastCGI.pm b/lib/Catalyst/Script/FastCGI.pm index d76727d..ba7f096 100644 --- a/lib/Catalyst/Script/FastCGI.pm +++ b/lib/Catalyst/Script/FastCGI.pm @@ -7,6 +7,8 @@ use namespace::autoclean; with 'Catalyst::ScriptRole'; +__PACKAGE__->meta->get_attribute('help')->cmd_aliases('h'); + has listen => ( traits => [qw(Getopt)], cmd_aliases => 'l', @@ -25,15 +27,15 @@ has pidfile => ( has daemon => ( traits => [qw(Getopt)], - isa => Bool, - is => 'ro', - cmd_aliases => 'd', + isa => Bool, + is => 'ro', + cmd_aliases => 'd', documentation => 'Daemonize (go into the background)', ); has manager => ( traits => [qw(Getopt)], - isa => Str, + isa => Str, is => 'ro', cmd_aliases => 'M', documentation => 'Use a different FastCGI process manager class', @@ -41,25 +43,25 @@ has manager => ( has keeperr => ( traits => [qw(Getopt)], - cmd_aliases => 'e', - isa => Bool, - is => 'ro', + cmd_aliases => 'e', + isa => Bool, + is => 'ro', documentation => 'Log STDERR', ); has nproc => ( traits => [qw(Getopt)], - cmd_aliases => 'n', + cmd_aliases => 'n', isa => Int, - is => 'ro', + is => 'ro', documentation => 'Specify a number of child processes', ); has detach => ( traits => [qw(Getopt)], - cmd_aliases => 'det', - isa => Bool, - is => 'ro', + cmd_aliases => 'det', + isa => Bool, + is => 'ro', documentation => 'Detach this FastCGI process', );