* MooseX::Getopt::OptionTypeMap: Change Bool|* to Defined|*.
[gitmo/MooseX-Getopt.git] / lib / MooseX / Getopt / OptionTypeMap.pm
index 449510c..09f29b3 100644 (file)
@@ -15,12 +15,12 @@ my %option_type_map = (
     'Num'             => '=f',
     'ArrayRef'        => '=s@',
     'HashRef'         => '=s%',
-    'Bool|Str'        => ':s',
-    'Bool|Int'        => ':i',
-    'Bool|Num'        => ':f',
-    'Str|Bool'        => ':s',
-    'Int|Bool'        => ':i',
-    'Num|Bool'        => ':f',
+    'Defined|Str'     => ':s',
+    'Defined|Int'     => ':i',
+    'Defined|Num'     => ':f',
+    'Str|Defined'     => ':s',
+    'Int|Defined'     => ':i',
+    'Num|Defined'     => ':f',
 );