summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-07-23 12:02:10 +0200
committerJose <jose@zeroc.com>2019-07-23 12:02:32 +0200
commit0b1608cbb9b48b0402386f7eac4603961a2e7521 (patch)
tree7e914084b4f18894a3ede359ad3c65def6f35807
parentEnable Objective-C and Swift mappings on macOS only (diff)
downloadice-0b1608cbb9b48b0402386f7eac4603961a2e7521.tar.bz2
ice-0b1608cbb9b48b0402386f7eac4603961a2e7521.tar.xz
ice-0b1608cbb9b48b0402386f7eac4603961a2e7521.zip
Add slice2swift man page
-rw-r--r--man/man1/slice2cpp.13
-rw-r--r--man/man1/slice2cs.15
-rw-r--r--man/man1/slice2java.13
-rw-r--r--man/man1/slice2js.116
-rw-r--r--man/man1/slice2matlab.13
-rw-r--r--man/man1/slice2objc.13
-rw-r--r--man/man1/slice2php.13
-rw-r--r--man/man1/slice2py.13
-rw-r--r--man/man1/slice2swift.1103
9 files changed, 129 insertions, 13 deletions
diff --git a/man/man1/slice2cpp.1 b/man/man1/slice2cpp.1
index 593836051fe..258c22f8668 100644
--- a/man/man1/slice2cpp.1
+++ b/man/man1/slice2cpp.1
@@ -141,4 +141,5 @@ Generate checksums for Slice definitions.
.BR slice2objc (1),
.BR slice2php (1),
.BR slice2py (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift (1)
diff --git a/man/man1/slice2cs.1 b/man/man1/slice2cs.1
index c3d0505e442..ba16c275955 100644
--- a/man/man1/slice2cs.1
+++ b/man/man1/slice2cs.1
@@ -10,7 +10,7 @@ slice2cs [options] [files]
.SH DESCRIPTION
-slice2cpp compiles Slice files to C#. The macro __SLICE2CS__
+slice2cs compiles Slice files to C#. The macro __SLICE2CS__
is defined during this compilation.
Full documentation for slice2cs is available online at:
@@ -120,4 +120,5 @@ Generate checksums for Slice definitions.
.BR slice2objc (1),
.BR slice2php (1),
.BR slice2py (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift (1)
diff --git a/man/man1/slice2java.1 b/man/man1/slice2java.1
index a14aca0e26f..ac170604705 100644
--- a/man/man1/slice2java.1
+++ b/man/man1/slice2java.1
@@ -145,4 +145,5 @@ Emit a list of generated files in XML format.
.BR slice2objc (1),
.BR slice2php (1),
.BR slice2py (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift (1)
diff --git a/man/man1/slice2js.1 b/man/man1/slice2js.1
index d314fa746a6..f6007766777 100644
--- a/man/man1/slice2js.1
+++ b/man/man1/slice2js.1
@@ -84,6 +84,13 @@ Directs dependency information to the specified file. The output
format depends on whether --depend or --depend-xml is also specified.
.TP
+.BR \-\-depend\-json\fR
+.br
+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.
+
+.TP
.BR \-\-validate\fR
.br
Checks the provided command-line options for correctness, and does not
@@ -95,11 +102,9 @@ generate any code.
Print generated code to standard output.
.TP
-.BR \-\-depend\-json\fR
+.BR \-\-typescript\fR
.br
-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.
+Generate TypeScript declaration files.
.SH SEE ALSO
@@ -110,4 +115,5 @@ when this option is specified.
.BR slice2objc (1),
.BR slice2php (1),
.BR slice2py (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift(1)
diff --git a/man/man1/slice2matlab.1 b/man/man1/slice2matlab.1
index 445ca767b1c..fe25302d0aa 100644
--- a/man/man1/slice2matlab.1
+++ b/man/man1/slice2matlab.1
@@ -108,4 +108,5 @@ Emit a list of generated files in XML format.
.BR slice2objc (1),
.BR slice2php (1),
.BR slice2py (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift (1)
diff --git a/man/man1/slice2objc.1 b/man/man1/slice2objc.1
index 4be84eb74ec..cbacf3e6913 100644
--- a/man/man1/slice2objc.1
+++ b/man/man1/slice2objc.1
@@ -103,4 +103,5 @@ header file with the directory DIR.
.BR slice2js (1),
.BR slice2php (1),
.BR slice2py (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift (1)
diff --git a/man/man1/slice2php.1 b/man/man1/slice2php.1
index 5e23e68a90f..408a2f6ed59 100644
--- a/man/man1/slice2php.1
+++ b/man/man1/slice2php.1
@@ -110,4 +110,5 @@ Generate checksums for Slice definitions.
.BR slice2matlab (1),
.BR slice2objc (1),
.BR slice2py (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift (1)
diff --git a/man/man1/slice2py.1 b/man/man1/slice2py.1
index 42b637a9ed6..36136c11ff6 100644
--- a/man/man1/slice2py.1
+++ b/man/man1/slice2py.1
@@ -107,4 +107,5 @@ Use PREFIX as the prefix for generated file names.
.BR slice2matlab (1),
.BR slice2objc (1),
.BR slice2php (1),
-.BR slice2rb (1)
+.BR slice2rb (1),
+.BR slice2swift (1)
diff --git a/man/man1/slice2swift.1 b/man/man1/slice2swift.1
new file mode 100644
index 00000000000..8f19b6c5cf3
--- /dev/null
+++ b/man/man1/slice2swift.1
@@ -0,0 +1,103 @@
+.TH slice2cs 1
+
+.SH NAME
+
+slice2cs - The Slice to C# compiler.
+
+.SH SYNOPSIS
+
+slice2swift [options] [files]
+
+.SH DESCRIPTION
+
+slice2swift compiles Slice files to Swift. The macro __SLICE2SWIFT__
+is defined during this compilation.
+
+Full documentation for slice2swift is available online at:
+.br
+https://doc.zeroc.com/display/Ice37/slice2swift+Command-Line+Options
+
+.SH OPTIONS
+
+.TP
+.BR \-h ", " \-\-help\fR
+.br
+Displays a help message.
+
+.TP
+.BR \-v ", " \-\-version\fR
+Displays the compiler version.
+
+.TP
+.BR \-DNAME\fR
+.br
+Defines the preprocessor symbol NAME.
+
+.TP
+.BR \-DNAME=DEF\fR
+.br
+Defines the preprocessor symbol NAME with the value DEF.
+
+.TP
+.BR \-UNAME\fR
+.br
+Undefines the preprocessor symbol NAME.
+
+.TP
+.BR \-IDIR\fR
+.br
+Add the directory DIR to the search path for #include directives.
+
+.TP
+.BR \-E\fR
+.br
+Print the preprocessor output on stdout.
+
+.TP
+.BR \-\-output-dir " " DIR\fR
+.br
+Place the generated files into directory DIR.
+
+.TP
+.BR \-d ", " \-\-debug\fR
+.br
+Print debug information showing the operation of the Slice parser.
+
+.TP
+.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.
+
+.SH SEE ALSO
+
+.BR slice2cpp (1),
+.BR slice2cs (1),
+.BR slice2java (1),
+.BR slice2js (1),
+.BR slice2matlab (1),
+.BR slice2objc (1),
+.BR slice2php (1),
+.BR slice2py (1),
+.BR slice2rb (1)
+