summaryrefslogtreecommitdiff
path: root/man/man1/slice2js.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/man1/slice2js.1')
-rw-r--r--man/man1/slice2js.150
1 files changed, 38 insertions, 12 deletions
diff --git a/man/man1/slice2js.1 b/man/man1/slice2js.1
index 07d0896fc34..b4316b9d6ad 100644
--- a/man/man1/slice2js.1
+++ b/man/man1/slice2js.1
@@ -2,7 +2,7 @@
.SH NAME
-slice2js - The Slice to Javascript compiler.
+slice2js - The Slice to JavaScript compiler.
.SH SYNOPSIS
@@ -10,11 +10,12 @@ slice2js [options] [files]
.SH DESCRIPTION
-slice2js compiles Slice files to Javascript.
+slice2js compiles Slice files to JavaScript. The macro __SLICE2JS__
+is defined during this compilation.
Full documentation for slice2js is available online at:
.br
-"https://doc.zeroc.com/display/Ice37/slice2js+Command-Line+Options".
+https://doc.zeroc.com/display/Ice37/slice2js+Command-Line+Options
.SH OPTIONS
@@ -34,7 +35,7 @@ Defines the preprocessor symbol NAME.
.TP
.BR \-DNAME=DEF\fR
-.br
+.br
Defines the preprocessor symbol NAME with the value DEF.
.TP
@@ -63,24 +64,49 @@ 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
+Directs dependency information to the specified file. The output
+format depends on whether --depend or --depend-xml is also specified.
+
+.TP
+.BR \-\-validate\fR
+.br
+Checks the provided command-line options for correctness, and does not
+generate any code.
+
+.TP
+.BR \-\-stdout\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.
+Print generated code to standard output.
.TP
-.BR \-\-underscore\fR
+.BR \-\-depend\-json\fR
.br
-Permit use of underscores in Slice identifiers.
+Print dependency information in JSON 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.
.SH SEE ALSO
.BR slice2cpp (1),
.BR slice2cs (1),
-.BR slice2freeze (1),
-.BR slice2freezej (1),
.BR slice2html (1),
-.BR slice2java (1),
+.BR slice2java (1),
.BR slice2php (1),
.BR slice2py (1),
.BR slice2rb (1)