projects
/
gitmo/MooseX-Getopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
print --usage, --help to stdout not stderr
[gitmo/MooseX-Getopt.git]
/
lib
/
MooseX
/
Getopt
/
Basic.pm
diff --git
a/lib/MooseX/Getopt/Basic.pm
b/lib/MooseX/Getopt/Basic.pm
index
87b54db
..
6b4d40e
100644
(file)
--- a/
lib/MooseX/Getopt/Basic.pm
+++ b/
lib/MooseX/Getopt/Basic.pm
@@
-146,7
+146,8
@@
sub _getopt_spec_exception {
sub _getopt_full_usage {
my ($self, $usage) = @_;
- $usage->die;
+ print $usage->text;
+ exit 0;
}
sub _usage_format {