cvs: phpdoc /en/features commandline.xml
| From: | Kalle Sommer Nielsen | Date: | Fri, 26 Jun 2009 07:11:35 +0000 |
| Subject: | cvs: phpdoc /en/features commandline.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4247@lists.php.net to get a copy of this message | ||
kalle Fri Jun 26 07:11:35 2009 UTC
Modified files:
/phpdoc/en/features commandline.xml
Log:
Improved the batch code for the sample shell script
http://cvs.php.net/viewvc.cgi/phpdoc/en/features/commandline.xml?r1=1.57&r2=1.58&diff_format=u
Index: phpdoc/en/features/commandline.xml
diff -u phpdoc/en/features/commandline.xml:1.57 phpdoc/en/features/commandline.xml:1.58
--- phpdoc/en/features/commandline.xml:1.57 Sat May 2 22:27:55 2009
+++ phpdoc/en/features/commandline.xml Fri Jun 26 07:11:35 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.57 $ -->
+<!-- $Revision: 1.58 $ -->
<chapter xml:id="features.commandline" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Using PHP from the command line</title>
<para>
@@ -1249,7 +1249,8 @@
<title>Batch file to run a command line PHP script (script.bat)</title>
<programlisting role="shell">
<![CDATA[
-@C:\php\php.exe script.php %1 %2 %3 %4
+@echo OFF
+"C:\php\php.exe" script.php %*
]]>
</programlisting>
</example>