cvs: phpdoc /scripts/docgen docgen.php
| From: | Kalle Sommer Nielsen | Date: | Sun, 28 Jun 2009 15:41:06 +0000 |
| Subject: | cvs: phpdoc /scripts/docgen docgen.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4263@lists.php.net to get a copy of this message | ||
kalle Sun Jun 28 15:41:06 2009 UTC
Modified files:
/phpdoc/scripts/docgen docgen.php
Log:
Dont start with a beginning indent to prevent line wrapping, this looks much better now
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/docgen/docgen.php?r1=1.31&r2=1.32&diff_format=u
Index: phpdoc/scripts/docgen/docgen.php
diff -u phpdoc/scripts/docgen/docgen.php:1.31 phpdoc/scripts/docgen/docgen.php:1.32
--- phpdoc/scripts/docgen/docgen.php:1.31 Sun Apr 26 16:46:03 2009
+++ phpdoc/scripts/docgen/docgen.php Sun Jun 28 15:41:06 2009
@@ -16,7 +16,7 @@
| Authors: Felipe Pena <felipe@php.net> |
+----------------------------------------------------------------------+
- $Id: docgen.php,v 1.31 2009/04/26 16:46:03 felipe Exp $
+ $Id: docgen.php,v 1.32 2009/06/28 15:41:06 kalle Exp $
*/
if (!(extension_loaded('reflection') && extension_loaded('pcre'))) {
@@ -54,31 +54,32 @@
function usage() { /* {{{ */
$v = PHP_VERSION;
print <<<USAGE
- Usage:
- php docgen.php <options>
+Usage:
+ php docgen.php <options>
- Example options:
- -e dom (an entire extension)
- -f preg_replace (a single function)
- -c simplexmlelement -m xpath -m asxml (a couple class methods)
-
- Notes:
- Long options are supported with PHP 5.3.0+, and you use $v
- Be sure the desired extension to document is available (compiled) into PHP
-
- Options:
- -c,--class -- class name
- -e,--extension -- extension name
- -f,--function -- function name
- -h,--help -- show this help
- -i,--include -- includes a PHP file (shortcut for:
- php -dauto_prepend_file=streams.php docgen.php)
- -m,--method -- method name (require -c)
- -o,--output -- output dir
- -p,--pecl -- is a PECL extension
- -q,--quiet -- quiet mode
- -v,--version -- show the version
- -V,--verbose -- disable show progress
+Example options:
+ -e dom (an entire extension)
+ -f preg_replace (a single function)
+ -c simplexmlelement -m xpath -m asxml (a couple class methods)
+
+Notes:
+ Long options are supported with PHP 5.3.0+, and you use $v
+ Be sure the desired extension to document is loaded into PHP
+
+Options:
+ -c,--class -- class name
+ -e,--extension -- extension name
+ -f,--function -- function name
+ -h,--help -- show this help
+ -i,--include -- includes a PHP file
+ (shortcut for: php -dauto_prepend_file=streams.php docgen.php)
+
+ -m,--method -- method name (require -c)
+ -o,--output -- output dir
+ -p,--pecl -- is a PECL extension
+ -q,--quiet -- quiet mode
+ -v,--version -- show the version
+ -V,--verbose -- disable show progress
USAGE;
@@ -925,7 +926,7 @@
switch ($opt) {
case 'v':
case 'version':
- printf("%s\n", '$Revision: 1.31 $');
+ printf("%s\n", '$Revision: 1.32 $');
break;
case 'V':
case 'verbose':