summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--docs/doc/wat2wasm.1.html4
-rw-r--r--man/wat2wasm.14
-rw-r--r--src/tools/wat2wasm.cc2
-rw-r--r--test/help/wat2wasm.txt2
5 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index ee1b006c..706646e2 100644
--- a/README.md
+++ b/README.md
@@ -200,7 +200,7 @@ run `make update-gperf` to update the prebuilt C++ sources in `src/prebuilt/`.
Some examples:
```sh
-# parse and typecheck test.wat
+# parse test.wat and write to .wasm binary file with the same name
$ bin/wat2wasm test.wat
# parse test.wat and write to binary file test.wasm
diff --git a/docs/doc/wat2wasm.1.html b/docs/doc/wat2wasm.1.html
index 09192b63..425ba3e1 100644
--- a/docs/doc/wat2wasm.1.html
+++ b/docs/doc/wat2wasm.1.html
@@ -84,10 +84,10 @@
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
-Parse and typecheck test.wat
+Parse test.wat and write to .wasm binary file with the same name
<p class="Pp"></p>
<div class="Bd Bd-indent"><code class="Li">$ wat2wasm test.wat</code></div>
-<p class="Pp">parse test.wat and write to binary file test.wasm</p>
+<p class="Pp">Parse test.wat and write to binary file test.wasm</p>
<p class="Pp"></p>
<div class="Bd Bd-indent"><code class="Li">$ wat2wasm test.wat -o
test.wasm</code></div>
diff --git a/man/wat2wasm.1 b/man/wat2wasm.1
index ec4dcc1b..f3fa1705 100644
--- a/man/wat2wasm.1
+++ b/man/wat2wasm.1
@@ -46,11 +46,11 @@ Write debug names to the generated binary file
Don't check for invalid modules
.El
.Sh EXAMPLES
-Parse and typecheck test.wat
+Parse test.wat and write to .wasm binary file with the same name
.Pp
.Dl $ wat2wasm test.wat
.Pp
-parse test.wat and write to binary file test.wasm
+Parse test.wat and write to binary file test.wasm
.Pp
.Dl $ wat2wasm test.wat -o test.wasm
.Pp
diff --git a/src/tools/wat2wasm.cc b/src/tools/wat2wasm.cc
index 16d5de22..39eeed01 100644
--- a/src/tools/wat2wasm.cc
+++ b/src/tools/wat2wasm.cc
@@ -53,7 +53,7 @@ static const char s_description[] =
convert it to the wasm binary format.
examples:
- # parse and typecheck test.wat
+ # parse test.wat and write to .wasm binary file with the same name
$ wat2wasm test.wat
# parse test.wat and write to binary file test.wasm
diff --git a/test/help/wat2wasm.txt b/test/help/wat2wasm.txt
index 92616388..b4a6d1d0 100644
--- a/test/help/wat2wasm.txt
+++ b/test/help/wat2wasm.txt
@@ -7,7 +7,7 @@ usage: wat2wasm [options] filename
convert it to the wasm binary format.
examples:
- # parse and typecheck test.wat
+ # parse test.wat and write to .wasm binary file with the same name
$ wat2wasm test.wat
# parse test.wat and write to binary file test.wasm