summaryrefslogtreecommitdiff
path: root/man/wast2json.1
diff options
context:
space:
mode:
authortDwtp <Dark-player@gmx.de>2022-09-22 20:13:41 +0200
committerGitHub <noreply@github.com>2022-09-22 18:13:41 +0000
commit520614a5f83878a4d26702a3ad67c44302c2b073 (patch)
tree5da3895be0d79a6f86d94fda31944523e8b564ff /man/wast2json.1
parent6c5ff4393097f92b6cc660a7086618e44edcee64 (diff)
downloadwabt-520614a5f83878a4d26702a3ad67c44302c2b073.tar.gz
wabt-520614a5f83878a4d26702a3ad67c44302c2b073.tar.bz2
wabt-520614a5f83878a4d26702a3ad67c44302c2b073.zip
Updated man pages (#2004)
update the man pages based on the output of `--help` Added a lua script to generate man pages from help messages: usage: `wabt-tool --help | lua help2man.lau`
Diffstat (limited to 'man/wast2json.1')
-rw-r--r--man/wast2json.143
1 files changed, 33 insertions, 10 deletions
diff --git a/man/wast2json.1 b/man/wast2json.1
index e8ea9fd9..77f37a5d 100644
--- a/man/wast2json.1
+++ b/man/wast2json.1
@@ -10,34 +10,56 @@
.Ar file
.Sh DESCRIPTION
.Nm
-reads a file in the wasm spec test format, checks it for errors, and converts it to a JSON file and associated wasm binary files.
+Read a file in the wasm spec test format, check it for errors, and convert it to a JSON file and associated wasm binary files.
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl v , Fl Fl verbose
-Use multiple times for more info
.It Fl Fl help
Print this help message
+.It Fl Fl version
+Print version information
+.It Fl v , Fl Fl verbose
+Use multiple times for more info
.It Fl Fl debug-parser
Turn on debugging the parser of wast files
.It Fl Fl enable-exceptions
Enable Experimental exception handling
.It Fl Fl disable-mutable-globals
Disable Import/export mutable globals
-.It Fl Fl enable-saturating-float-to-int
-Enable Saturating float-to-int operators
-.It Fl Fl enable-sign-extension
-Enable Sign-extension operators
+.It Fl Fl disable-saturating-float-to-int
+Disable Saturating float-to-int operators
+.It Fl Fl disable-sign-extension
+Disable Sign-extension operators
.It Fl Fl disable-simd
Disable SIMD support
.It Fl Fl enable-threads
Enable Threading support
-.It Fl Fl enable-multi-value
-Enable Multi-value
+.It Fl Fl enable-function-references
+Enable Typed function references
+.It Fl Fl disable-multi-value
+Disable Multi-value
.It Fl Fl enable-tail-call
Enable Tail-call support
+.It Fl Fl disable-bulk-memory
+Disable Bulk-memory operations
+.It Fl Fl disable-reference-types
+Disable Reference types (externref)
+.It Fl Fl enable-annotations
+Enable Custom annotation syntax
+.It Fl Fl enable-code-metadata
+Enable Code metadata
+.It Fl Fl enable-gc
+Enable Garbage collection
+.It Fl Fl enable-memory64
+Enable 64-bit memory
+.It Fl Fl enable-multi-memory
+Enable Multi-memory
+.It Fl Fl enable-extended-const
+Enable Extended constant expressions
+.It Fl Fl enable-all
+Enable all features
.It Fl o , Fl Fl output=FILE
-output wasm binary file
+output JSON file
.It Fl r , Fl Fl relocatable
Create a relocatable wasm binary (suitable for linking with e.g. lld)
.It Fl Fl no-canonicalize-leb128s
@@ -53,6 +75,7 @@ Modules are written to spec-test.0.wasm, spec-test.1.wasm, etc.
.Pp
.Dl $ wast2json spec-test.wast -o spec-test.json
.Sh SEE ALSO
+.Xr wasm-decompile 1 ,
.Xr wasm-interp 1 ,
.Xr wasm-objdump 1 ,
.Xr wasm-opcodecnt 1 ,