with 'MooseX::Getopt::Parser';
-use Getopt::Long::Descriptive;
use MooseX::Getopt::OptionTypeMap;
+use Getopt::Long::Descriptive ();
+
# Special configuration for parser
has config => (
# Include old options and usage object
$new_options = { usage => $usage, %$options, %$new_options };
+ $getopt->status( ! $warnings );
$getopt->options( $new_options );
die $warnings if $warnings;