There is no InterceptingParser.
authorJan Schneider <jan@horde.org>
Thu, 18 Mar 2010 18:25:10 +0000 (19:25 +0100)
committerJan Schneider <jan@horde.org>
Thu, 18 Mar 2010 18:25:10 +0000 (19:25 +0100)
framework/Argv/test/Horde/Argv/CallbackVarArgsTest.php

index d14996e..0a0a074 100644 (file)
@@ -20,8 +20,8 @@ class Horde_Argv_CallbackVarArgsTest extends Horde_Argv_TestCase
             $this->makeOption('-b', array('action' => 'store_true', 'dest' => 'b')),
             $this->makeOption('-c', '--callback', array('action' => 'callback', 'callback' => array($this, 'variableArgs'), 'dest' => 'c')),
         );
-        $this->parser = new Horde_Argv_InterceptingParser(array('usage' => Horde_Argv_Option::SUPPRESS_USAGE,
-                                                                'optionList' => $options));
+        $this->parser = new Horde_Argv_Parser(array('usage' => Horde_Argv_Option::SUPPRESS_USAGE,
+                                                    'optionList' => $options));
     }
 
     public function variableArgs($option, $opt, $value, $parser)