cvs: peardoc /en/package/console/console-getopt getopt.xml
| From: | Laurent Laville | Date: | Sat, 27 Dec 2008 09:28:06 +0000 |
| Subject: | cvs: peardoc /en/package/console/console-getopt getopt.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11347@lists.php.net to get a copy of this message | ||
farell Sat Dec 27 09:28:06 2008 UTC
Modified files:
/peardoc/en/package/console/console-getopt getopt.xml
Log:
parameter initializer fixed (removed equal sign)
http://cvs.php.net/viewvc.cgi/peardoc/en/package/console/console-getopt/getopt.xml?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/en/package/console/console-getopt/getopt.xml
diff -u peardoc/en/package/console/console-getopt/getopt.xml:1.6
peardoc/en/package/console/console-getopt/getopt.xml:1.7
--- peardoc/en/package/console/console-getopt/getopt.xml:1.6 Thu Oct 9 15:16:21 2008
+++ peardoc/en/package/console/console-getopt/getopt.xml Sat Dec 27 09:28:06 2008
@@ -8,14 +8,14 @@
<funcsynopsis>
<funcsynopsisinfo>
require_once 'Console/Getopt.php';
- </funcsynopsisinfo>
+ </funcsynopsisinfo>
<funcprototype>
<funcdef>array <function>getopt</function></funcdef>
<paramdef choice="req">array
<parameter>$args</parameter></paramdef>
<paramdef choice="req">string
<parameter>$shortoptions</parameter></paramdef>
<paramdef choice="opt">array
<parameter>$longoptions</parameter>
- = <initializer>null</initializer>
+ <initializer>null</initializer>
</paramdef>
</funcprototype>
</funcsynopsis>
@@ -25,7 +25,7 @@
<para>
Parses the command-line options and returns them.
</para>
- </refsection>
+ </refsection>
<refsection xml:id="package.console.console-getopt.getopt.parameter">
&title.param;
<para>
@@ -51,26 +51,26 @@
</listitem>
</itemizedlist>
</para>
- </refsection>
+ </refsection>
<refsection xml:id="package.console.console-getopt.getopt.return">
&title.returns;
<para>
<parameter>array</parameter> - two-element array containing the list of
parsed options and the non-option arguments or a &class.pear-error;.
</para>
- </refsection>
+ </refsection>
<refsection xml:id="package.console.console-getopt.getopt.throws">
&title.throws;
<para>
<table><title>&title.throws.errortable;</title>
-
+
<tgroup cols="4">
<thead>
<row>
<entry>Error code</entry>
- <entry>Error message</entry>
- <entry>Reason</entry>
- <entry>Solution</entry>
+ <entry>Error message</entry>
+ <entry>Reason</entry>
+ <entry>Solution</entry>
</row>
</thead>
<tbody>
@@ -87,7 +87,7 @@
Change the naming of the options. It is also possible that
the error is caused by a typing mistake.
</entry>
- </row>
+ </row>
<row>
<entry>&null;</entry>
<entry>
@@ -101,7 +101,7 @@
you have to markup the parameter as optional in the option
definitions.
</entry>
- </row>
+ </row>
<row>
<entry>&null;</entry>
<entry>
@@ -115,7 +115,7 @@
(optional) parameter, you have to markup it in the options
definition.
</entry>
- </row>
+ </row>
<row>
<entry>&null;</entry>
<entry>
@@ -129,14 +129,14 @@
Normally this is a user mistake. If the option exists, you
have to define them in the options definition.
</entry>
- </row>
+ </row>
</tbody>
</tgroup>
</table>
</para>
- </refsection>
+ </refsection>
<refsection xml:id="package.console.console-getopt.getopt.note">
&title.note;
¬e.notstatic;
- </refsection>
- </refentry>
+ </refsection>
+ </refentry>
\ No newline at end of file