And fix
[gitmo/MooseX-Getopt.git] / lib / MooseX / Getopt / Basic.pm
index 721fd3f..316b15c 100644 (file)
@@ -143,7 +143,7 @@ sub _traditional_spec {
     foreach my $opt ( @{ $params{options} } ) {
         push @options, $opt->{opt_string};
 
-        my $identifier = lc($opt->{name});
+        my $identifier = $opt->{name};
         $identifier =~ s/\W/_/g; # Getopt::Long does this to all option names
 
         $name_to_init_arg{$identifier} = $opt->{init_arg};