From: Devin Austin Date: Sat, 4 Jul 2009 00:58:02 +0000 (+0000) Subject: follow_symlinks has short option X-Git-Tag: 5.80014_02~111 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=bbd42ac810f3a2b41e8f446402edd58b7232b019 follow_symlinks has short option --- diff --git a/lib/Catalyst/Script/Server.pm b/lib/Catalyst/Script/Server.pm index 5f3d508..d466bca 100644 --- a/lib/Catalyst/Script/Server.pm +++ b/lib/Catalyst/Script/Server.pm @@ -98,7 +98,13 @@ has restart_regex => ( required => 0 ); -has follow_symlinks => ( isa => 'Bool', is => 'ro', required => 0 ); +has follow_symlinks => ( + traits => [qw(Getopt)], + cmd_aliases => 'sym', + isa => 'Bool', + is => 'ro', + required => 0 +); my @argv = @ARGV;