goba Fri Dec 28 10:14:25 2001 EDT
Modified files:
/phpdoc/en/appendices commandline.xml
Log:
Add -f and -l option documentation. Add "see also readline" para.
Index: phpdoc/en/appendices/commandline.xml
diff -u phpdoc/en/appendices/commandline.xml:1.7
phpdoc/en/appendices/commandline.xml:1.8
--- phpdoc/en/appendices/commandline.xml:1.7 Wed Dec 12 15:46:26 2001
+++ phpdoc/en/appendices/commandline.xml Fri Dec 28 10:14:25 2001
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!--
TODO:
The command line options not in the
list, but in the -h output below:
- -f, -e, -z, -l
+ -e, -z
It would be best to document these, and
collect more info about -c and -d!
@@ -95,6 +95,14 @@
</entry>
</row>
<row>
+ <entry>-f</entry>
+ <entry>
+ Parse the file given, and search for syntactical and
+ fatal errors. This option implies -q. Use for
+ debugging purposes.
+ </entry>
+ </row>
+ <row>
<entry>-v</entry>
<entry>
By calling PHP with this option, you can ask
@@ -130,6 +138,16 @@
</entry>
</row>
<row>
+ <entry>-l</entry>
+ <entry>
+ Check the file given for syntax errors. This
+ option implies -q. Use for debugging purpouses.
+ This option won't find fatal errors (like undefined
+ functions). Use -f if you would like to test
+ for fatal errors too.
+ </entry>
+ </row>
+ <row>
<entry>-m</entry>
<entry>
Using this option, PHP prints out the built in
@@ -239,6 +257,11 @@
will run it for you with your added options:
<literal>script.bat echothis</literal> or
<literal>script.bat -h</literal>.
+ </para>
+ <para>
+ See also the <link linkend="ref.readline">Readline</link>
+ extension documentation for more functions you can use
+ to enhance your command line applications in PHP.
</para>
</appendix>