Beat somewhat into shape by comparing the old and new docs. Need to write basic tests...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / Create.pm
index f04995d..575f9e7 100644 (file)
@@ -7,6 +7,7 @@ use namespace::autoclean;
 with 'Catalyst::ScriptRole';
 
 has force => (
+    traits => [qw(Getopt)],
     cmd_aliases => 'nonew',
     isa => Bool,
     is => 'ro',
@@ -14,6 +15,7 @@ has force => (
 );
 
 has debug => (
+    traits => [qw(Getopt)],
     cmd_aliases => 'd',
     isa => Bool,
     is => 'ro',
@@ -21,6 +23,7 @@ has debug => (
 );
 
 has mechanize => (
+    traits => [qw(Getopt)],
     cmd_aliases => 'mech',
     isa => Bool,
     is => 'ro',
@@ -47,7 +50,7 @@ Catalyst::Script::Create - Create a new Catalyst Component
 
 =head1 SYNOPSIS
 
-myapp_create.pl [options] model|view|controller name [helper] [options]
+ myapp_create.pl [options] model|view|controller name [helper] [options]
 
  Options:
    -force        don't create a .new file where a file to be created exists