cvs: peardoc /en/package/console/console-getopt readphpargv.xml
| From: | Martin Jansen | Date: | Sun, 12 Jun 2005 20:23:17 +0000 |
| Subject: | cvs: peardoc /en/package/console/console-getopt readphpargv.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6314@lists.php.net to get a copy of this message | ||
mj Sun Jun 12 16:23:17 2005 EDT
Modified files:
/peardoc/en/package/console/console-getopt readphpargv.xml
Log:
* Fixed typos in the documentation for Console_Getopt::readPHPargv()
# Bug: #4576
http://cvs.php.net/diff.php/peardoc/en/package/console/console-getopt/readphpargv.xml?r1=1.5&r2=1.6&ty=u
Index: peardoc/en/package/console/console-getopt/readphpargv.xml
diff -u peardoc/en/package/console/console-getopt/readphpargv.xml:1.5
peardoc/en/package/console/console-getopt/readphpargv.xml:1.6
--- peardoc/en/package/console/console-getopt/readphpargv.xml:1.5 Tue Jun 17 07:10:33 2003
+++ peardoc/en/package/console/console-getopt/readphpargv.xml Sun Jun 12 16:23:14 2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="package.console.console-getopt.readphpargv">
<refnamediv>
<refname>Console_Getopt::readPHPArgv</refname>
@@ -52,7 +52,7 @@
(register_argc_argv=Off?)</quote>
</entry>
<entry>
- PHP does not provides the command-line arguments for the script.
+ PHP does not provide the command-line arguments for the script.
</entry>
<entry>
Check <quote>register_argc_argv</quote> in your php.ini
@@ -77,7 +77,7 @@
$con = new Console_Getopt;
$args = $con->readPHPArgv();
array_shift($args);
-$options = $con->getopt( $args, $shortopt);
+$options = $con->getopt2($args, $shortopt);
]]>
</programlisting>
</example>