projects
/
gitmo/MooseX-Getopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
* MooseX::Getopt: _get_options_from_configfile renamed to get_options_from_configfile.
[gitmo/MooseX-Getopt.git]
/
lib
/
MooseX
/
Getopt
/
Parser
/
Long.pm
diff --git
a/lib/MooseX/Getopt/Parser/Long.pm
b/lib/MooseX/Getopt/Parser/Long.pm
index
d676e1b
..
fb369ce
100644
(file)
--- a/
lib/MooseX/Getopt/Parser/Long.pm
+++ b/
lib/MooseX/Getopt/Parser/Long.pm
@@
-25,7
+25,7
@@
sub build_options {
Moose->throw_error('First argument is not a MooseX::Getopt::Session')
unless $getopt->isa('MooseX::Getopt::Session');
- my $options = {};
+ my $options = $getopt->options;
my @opts;
foreach my $attr (@attrs) {