Skip to content

Commit 4944354

Browse files
author
Jani Taskinen
committed
- Sync files
1 parent 2bdd353 commit 4944354

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

sapi/cli/php.1.in

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ specified by \-F to be executed.
6969
You can access the input line by \fB$argn\fP. While processing the input lines
7070
.B $argi
7171
contains the number of the actual line being processed. Further more
72-
the paramters \-B and \-E can be used to execute
72+
the parameters \-B and \-E can be used to execute
7373
.IR code
7474
(see \-r) before and
7575
after all input lines have been processed respectively. Notice that the
@@ -304,6 +304,9 @@ Shows information about extension
304304
.IR name
305305
Shows configuration for extension
306306
.B name
307+
.TP
308+
.B \-\-ini
309+
Show configuration file names
307310
.SH FILES
308311
.TP 15
309312
.B php\-cli.ini
@@ -315,7 +318,7 @@ The standard configuration file will only be used when
315318
cannot be found.
316319
.SH EXAMPLES
317320
.TP 5
318-
\fIphp -r 'echo "Hello World\\n";'\fP
321+
\fIphp \-r 'echo "Hello World\\n";'\fP
319322
This command simply writes the text "Hello World" to standard out.
320323
.TP
321324
\fIphp \-r 'print_r(gd_info());'\fP
@@ -339,7 +342,7 @@ configuration information. If you then combine those two
339342
Using this PHP command you can count the lines being input.
340343
.TP
341344
\fIphp \-R '@$l+=count(file($argn));' \-E 'echo "Lines:$l\\n";'\fP
342-
In this example PHP expects each input line beeing a file. It counts all lines
345+
In this example PHP expects each input line being a file. It counts all lines
343346
of the files specified by each input line and shows the summarized result.
344347
You may combine this with tools like find and change the php scriptlet.
345348
.TP
@@ -366,7 +369,7 @@ such a first line as shown below:
366369
.PD 1
367370
.P
368371
.SH SEE ALSO
369-
For a description of PHP see:
372+
For a more or less complete description of PHP look here:
370373
.PD 0
371374
.P
372375
.B http://www.php.net/manual/

0 commit comments

Comments
 (0)