And do that in a way which actually works
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / Create.pm
index 47965a6..d53427e 100644 (file)
@@ -6,7 +6,7 @@ use namespace::autoclean;
 
 with 'Catalyst::ScriptRole';
 
-has '+help' => (cmd_aliases => 'h');
+__PACKAGE__->meta->get_attribute('help')->cmd_aliases('h');
 
 has force => (
     traits => [qw(Getopt)],