cvs: phd /include PhDBuildOptions.class.php
| From: | Christian Weiske | Date: | Mon, 26 Jan 2009 08:58:20 +0000 |
| Subject: | cvs: phd /include PhDBuildOptions.class.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3090@lists.php.net to get a copy of this message | ||
cweiske Mon Jan 26 08:58:20 2009 UTC
Modified files:
/phd/include PhDBuildOptions.class.php
Log:
Fix: shortcut option "h" was used two times
http://cvs.php.net/viewvc.cgi/phd/include/PhDBuildOptions.class.php?r1=1.10&r2=1.11&diff_format=u
Index: phd/include/PhDBuildOptions.class.php
diff -u phd/include/PhDBuildOptions.class.php:1.10 phd/include/PhDBuildOptions.class.php:1.11
--- phd/include/PhDBuildOptions.class.php:1.10 Sun Jan 25 19:59:28 2009
+++ phd/include/PhDBuildOptions.class.php Mon Jan 26 08:58:19 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: PhDBuildOptions.class.php,v 1.10 2009/01/25 19:59:28 cweiske Exp $ */
+/* $Id: PhDBuildOptions.class.php,v 1.11 2009/01/26 08:58:19 cweiske Exp $ */
class PhDBuildOptionsParser extends PhDOptionParser
{
@@ -20,7 +20,7 @@
"list::" => "l::", // List supported themes/formats
"lang::" => "L:", // Language hint (used by the
CHM)
"color:" => "c:", // Use color output if possible
- 'highlighter:' => 'h:', // Class used as source code
highlighter
+ 'highlighter:' => 'g:', // Class used as source code
highlighter
"version" => "V", // Print out version information
"help" => "h", // Print out help
);
@@ -49,7 +49,7 @@
PhDConfig::set_output_format($formats);
}
- public function option_h($k, $v)
+ public function option_g($k, $v)
{
$this->option_highlighter($k, $v);
}
@@ -365,7 +365,7 @@
--lang <language> The language of the source file (used by the CHM theme).
(default: en
-c <bool>
--color <bool> Enable color output when output is to a terminal (default:
false)
- -h <classname>
+ -g <classname>
--highlighter <classname> Use custom source code highlighting php class
-V
--version Print the PhD version information