From: Karen Etheridge <ether@cpan.org>
Date: Thu, 30 Aug 2012 21:57:16 +0000 (-0700)
Subject: -? is also accepted as a help option
X-Git-Tag: v0.46~6
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fa8dcd6975fc3bd35b2d3099f54c9677538ee1a7;p=gitmo%2FMooseX-Getopt.git

-? is also accepted as a help option
---

diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm
index 87084e1..f8bd879 100644
--- a/lib/MooseX/Getopt.pm
+++ b/lib/MooseX/Getopt.pm
@@ -200,6 +200,7 @@ information (and the option's state will be stored in the help_flag
 attribute). You can add descriptions for each option by including a
 B<documentation> option for each attribute to document.
 
+  -?
   --?
   --help
   --usage
diff --git a/lib/MooseX/Getopt/GLD.pm b/lib/MooseX/Getopt/GLD.pm
index 17567b4..d5a49de 100644
--- a/lib/MooseX/Getopt/GLD.pm
+++ b/lib/MooseX/Getopt/GLD.pm
@@ -22,7 +22,7 @@ role {
         traits => ['NoGetopt'],
     );
 
-    # captures the options: --help --usage --?
+    # captures the options: --help --usage --? -?
     has help_flag => (
         is => 'ro', isa => 'Bool',
         traits => ['Getopt'],