summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-09-08 00:17:38 -0700
committerGitHub <noreply@github.com>2017-09-08 00:17:38 -0700
commit0ecaaacb27d03a1aafc40397740f9bdd04bf8d73 (patch)
tree3fb78816e22471bcbc92982581f7b81fef1136c6 /src
parentfe2cdc7f0f7633f7a14c5ea9952f5de9f5c17fad (diff)
downloadwabt-0ecaaacb27d03a1aafc40397740f9bdd04bf8d73.tar.gz
wabt-0ecaaacb27d03a1aafc40397740f9bdd04bf8d73.tar.bz2
wabt-0ecaaacb27d03a1aafc40397740f9bdd04bf8d73.zip
Rename wasm2wast -> wasm2wat (#616)
See issue #543.
Diffstat (limited to 'src')
-rw-r--r--src/tools/wasm2wat.cc (renamed from src/tools/wasm2wast.cc)14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/wasm2wast.cc b/src/tools/wasm2wat.cc
index 8b2957fa..be1009b3 100644
--- a/src/tools/wasm2wast.cc
+++ b/src/tools/wasm2wat.cc
@@ -45,19 +45,19 @@ static std::unique_ptr<FileStream> s_log_stream;
static bool s_validate = true;
static const char s_description[] =
-R"( read a file in the wasm binary format, and convert it to the wasm
- s-expression file format.
+R"( Read a file in the WebAssembly binary format, and convert it to
+ the WebAssembly text format.
examples:
- # parse binary file test.wasm and write s-expression file test.wast
- $ wasm2wast test.wasm -o test.wast
+ # parse binary file test.wasm and write text file test.wast
+ $ wasm2wat test.wasm -o test.wat
- # parse test.wasm, write test.wast, but ignore the debug names, if any
- $ wasm2wast test.wasm --no-debug-names -o test.wast
+ # parse test.wasm, write test.wat, but ignore the debug names, if any
+ $ wasm2wat test.wasm --no-debug-names -o test.wat
)";
static void ParseOptions(int argc, char** argv) {
- OptionParser parser("wasm2wast", s_description);
+ OptionParser parser("wasm2wat", s_description);
parser.AddOption('v', "verbose", "Use multiple times for more info", []() {
s_verbose++;