php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #64180
Patch php.1.in.patch revision 2013-02-09 23:39 UTC by kaplanlior at gmail dot com

Patch php.1.in.patch for Documentation problem Bug #64180

Patch version 2013-02-09 23:39 UTC

Return to Bug #64180 | Download this patch
Patch Revisions:

Developer: kaplanlior@gmail.com

commit c48f359bc2f62609fb72ee8ac2d028b56e4f723e
Author: Lior Kaplan <kaplanlior@gmail.com>
Date:   Sun Feb 10 01:31:58 2013 +0200

    manpage: Add -S, -t options. Align -B, -E with the cli usage (Closes: #698525)

diff --git a/sapi/cli/php.1.in b/sapi/cli/php.1.in
index 186b128..639d3f9 100644
--- a/sapi/cli/php.1.in
+++ b/sapi/cli/php.1.in
@@ -18,21 +18,21 @@ php \- PHP Command Line Interface 'CLI'
 .LP
 .B php
 [options] [\-B 
-.IR code ] 
+.IR begin_code ]
 .B \-R 
 .IR code
 [\-E 
-.IR code ]
+.IR end_code ]
 [[\-\-]
 .IR args.\|.\|. ]
 .LP
 .B php
 [options] [\-B 
-.IR code ]
+.IR begin_code ]
 .B \-F 
 .IR file
 [\-E 
-.IR code ] 
+.IR end_code ]
 [[\-\-]
 .IR args.\|.\|. ]
 .LP
@@ -223,9 +223,9 @@ without using script tags
 .B \-\-process\-begin \fIcode\fP
 .TP
 .PD 1
-.B \-B \fIcode\fP
+.B \-B \fIbegin_code\fP
 Run PHP 
-.IR code
+.IR begin_code
 before processing input lines
 .TP
 .PD 0
@@ -250,9 +250,9 @@ for every input line
 .B \-\-process\-end \fIcode\fP
 .TP
 .PD 1
-.B \-E \fIcode\fP
+.B \-E \fIend_code\fP
 Run PHP 
-.IR code
+.IR end_code
 after processing all input lines
 .TP
 .PD 0
@@ -262,6 +262,16 @@ after processing all input lines
 .B \-s
 Output HTML syntax highlighted source
 .TP
+.PD 1
+.B \-S \fIaddress:port\fP
+Run with built-in web server
+.TP
+.PD 1
+.B \-t \fIdocroot\fP
+Specify document root
+.IR docroot
+for built-in web server
+.TP
 .PD 0
 .B \-\-version
 .TP
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 11:01:32 2024 UTC