diff options
Diffstat (limited to 'man/man1/slice2php.1')
-rw-r--r-- | man/man1/slice2php.1 | 43 |
1 files changed, 28 insertions, 15 deletions
diff --git a/man/man1/slice2php.1 b/man/man1/slice2php.1 index 06647be2225..79e6d917288 100644 --- a/man/man1/slice2php.1 +++ b/man/man1/slice2php.1 @@ -7,11 +7,12 @@ slice2php - The Slice to PHP compiler. slice2php [options] [files] .SH DESCRIPTION -slice2php compiles Slice files to PHP. +slice2php compiles Slice files to PHP. The macro __SLICE2PHP__ +is defined during this compilation. Full documentation for slice2php is available online at: .br -"https://doc.zeroc.com/display/Ice37/slice2php+Command-Line+Options". +https://doc.zeroc.com/display/Ice37/slice2php+Command-Line+Options .SH OPTIONS @@ -31,7 +32,7 @@ Defines the preprocessor symbol NAME. .TP .BR \-DNAME=DEF\fR -.br +.br Defines the preprocessor symbol NAME with the value DEF. .TP @@ -60,15 +61,30 @@ Place the generated files into directory DIR. Print debug information showing the operation of the Slice parser. .TP -.BR \-\-ice\fR +.BR \-\-depend\fR +.br +Print dependency information to standard output by default, or to the +file specified by the --depend-file option. No code is generated when +this option is specified. + +.TP +.BR \-\-depend\-xml\fR +.br +Print dependency information in XML format to standard output by default, +or to the file specified by the --depend-file option. No code is generated +when this option is specified. + +.TP +.BR \-\-depend\-file " " FILE\fR .br -Permit use of the normally reserved prefix Ice for identifiers. Use this -option only when compiling the source code for the Ice run time. +Directs dependency information to the specified file. The output +format depends on whether --depend or --depend-xml is also specified. .TP -.BR \-\-underscore\fR +.BR \-\-validate\fR .br -Permit use of underscores in Slice identifiers. +Checks the provided command-line options for correctness, and does not +generate any code. .TP .BR \-\-all\fR @@ -76,11 +92,9 @@ Permit use of underscores in Slice identifiers. Generate code for all Slice definitions, including those from included files. .TP -.BR \-n ", " \-\-namespace\fR +.BR \-\-no\-namespace\fR .br -Generate code using PHP namespaces. Note that namespaces are only supported -in PHP 5.3 or later. Also note that the Ice extension for PHP must be built -with namespace support enabled. +Generate code without support for PHP namespaces (deprecated). .TP .BR \-\-checksum " " CLASS\fR @@ -91,9 +105,8 @@ Generate checksums for Slice definitions. .BR slice2cpp (1), .BR slice2cs (1), -.BR slice2freeze (1), -.BR slice2freezej (1), .BR slice2html (1), -.BR slice2java (1), +.BR slice2java (1), +.BR slice2js (1), .BR slice2py (1), .BR slice2rb (1) |