X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FGetopt%2FBasic.pm;h=87b54dbac3a1cd864fd461e1039e570797423afd;hb=7a8392d6d13ea53d57ef83cf36fb48633e8c759f;hp=9bb62ba8a7e2b030bc53446a396707d13346e1d7;hpb=f9b21bbf51f6178c5e5e31ebf3e5afbd99240255;p=gitmo%2FMooseX-Getopt.git diff --git a/lib/MooseX/Getopt/Basic.pm b/lib/MooseX/Getopt/Basic.pm index 9bb62ba..87b54db 100644 --- a/lib/MooseX/Getopt/Basic.pm +++ b/lib/MooseX/Getopt/Basic.pm @@ -24,7 +24,7 @@ sub process_argv { # just get the configfile arg now; the rest of the args will be # fetched later my $configfile; - my $opt_parser = Getopt::Long::Parser->new( config => [ qw( no_auto_help pass_through ) ] ); + my $opt_parser = Getopt::Long::Parser->new( config => [ qw( no_auto_help pass_through no_auto_version ) ] ); $opt_parser->getoptions( "configfile=s" => \$configfile ); if(!defined $configfile) {