Remove mab references.
[p5sagit/p5-mst-13.2.git] / lib / newgetopt.pl
index 38cad59..d284b5b 100644 (file)
@@ -1,6 +1,6 @@
 # newgetopt.pl -- new options parsing.
 # Now just a wrapper around the Getopt::Long module.
-# $Id: newgetopt.pl,v 1.15 1995/12/26 14:57:33 jv Exp $
+# $Id: newgetopt.pl,v 1.16 1996/03/16 11:46:08 jv Exp $
 
 {   package newgetopt;
 
        $getopt_compat = 0;     # disallow '+' to start options
        $option_start = "(--|-)";
        $order = $REQUIRE_ORDER;
+       $bundling = 0;
     }
     else {
        $autoabbrev = 1;        # automatic abbrev of options
        $getopt_compat = 1;     # allow '+' to start options
        $option_start = "(--|-|\\+)";
        $order = $PERMUTE;
+       $bundling = 0;
     }
 
     # Other configurable settings.
@@ -45,6 +47,8 @@ sub NGetOpt {
        if defined $newgetopt::option_start;
     $Getopt::Long::order = $newgetopt::order 
        if defined $newgetopt::order;
+    $Getopt::Long::bundling = $newgetopt::bundling 
+       if defined $newgetopt::bundling;
     $Getopt::Long::ignorecase = $newgetopt::ignorecase 
        if defined $newgetopt::ignorecase;