Add -f and -l option documentation. Add "see also readline" para.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66318 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gabor Hojtsy 2001-12-28 15:14:25 +00:00
parent c68f4466d3
commit a580390efd

View file

@ -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!
@ -94,6 +94,14 @@ Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]}
a PHP script.
</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>
@ -129,6 +137,16 @@ Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]}
time of running a script.
</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>
@ -240,6 +258,11 @@ This is a command line PHP script with one option.
<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>
<!-- Keep this comment at the end of the file