# 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) {
sub _getopt_full_usage {
my ($self, $usage) = @_;
- $usage->die;
+ print $usage->text;
+ exit 0;
}
sub _usage_format {