work in progress, tests are failing, and parameterized role is not flexible enough...
[gitmo/MooseX-Getopt.git] / lib / MooseX / Getopt / Strict.pm
index 8241b14..8d9d2b7 100644 (file)
@@ -3,7 +3,7 @@ package MooseX::Getopt::Strict;
 
 use Moose::Role;
 
-with 'MooseX::Getopt';
+with 'MooseX::Getopt' => { getopt_conf => [] };
 
 around '_compute_getopt_attrs' => sub {
     my $next = shift;
@@ -23,4 +23,7 @@ This is an stricter version of C<MooseX::Getopt> which only processes the
 attributes if they explicitly set as C<Getopt> attributes. All other attributes
 are ignored by the command line handler.
 
+Also, no L<Getopt::Long> global option is activated. Especially, 'pass_through' is
+not set.
+
 =cut