print --usage, --help to stdout not stderr
[gitmo/MooseX-Getopt.git] / lib / MooseX / Getopt / Basic.pm
index 87b54db..6b4d40e 100644 (file)
@@ -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 {