Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.0

Doc Bug #16507 Typo in code example
Submitted: 2009-08-10 15:08 UTC Modified: 2009-08-24 13:36 UTC
From: rquadling Assigned: izi
Status: Closed Package: Console_CommandLine (version 1.1.0)
PHP Version: 5.3 OS: Windows XP SP3
Roadmaps: (Not assigned)    
Subscription  



Patch ConstructorDocBlockTypo.patch Revisions
Revision 2009-08-10 15:09 UTC
Developer rquadling
 
Download patch

Index: CommandLine.php
===================================================================
--- CommandLine.php	(revision 287042)
+++ CommandLine.php	(working copy)
@@ -277,8 +277,8 @@
      *     'name'               => 'yourprogram', // defaults to argv[0]
      *     'description'        => 'Description of your program',
      *     'version'            => '0.0.1', // your program version
-     *     'add_help_option'    => true, // or false to disable --version option
-     *     'add_version_option' => true, // or false to disable --help option
+     *     'add_help_option'    => true, // or false to disable --help option
+     *     'add_version_option' => true, // or false to disable --version option
      *     'force_posix'        => false // or true to force posix compliance
      * ));
      * </code>