don't generate auto-help for Cli controller
authorChuck Hagenbuch <chuck@horde.org>
Mon, 20 Apr 2009 02:57:32 +0000 (19:57 -0700)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 20 Apr 2009 02:57:32 +0000 (19:57 -0700)
framework/Controller/lib/Horde/Controller/Request/Cli.php

index b26a89e..a0ec810 100644 (file)
@@ -38,6 +38,7 @@ class Horde_Controller_Request_Cli extends Horde_Controller_Request_Base
 
         $parser = new Horde_Argv_Parser(array(
             'allowUnknownArgs' => true,
+            'addHelpOption' => false,
         ));
         list($this->_argv, $args) = $parser->parseArgs();
         if (!count($args)) {