summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/wasm-objdump.cc (renamed from src/tools/wasmdump.cc)4
-rw-r--r--src/tools/wasm-opcodecnt.cc (renamed from src/tools/wasmopcodecnt.cc)4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/wasmdump.cc b/src/tools/wasm-objdump.cc
index 37651277..49134fc2 100644
--- a/src/tools/wasmdump.cc
+++ b/src/tools/wasm-objdump.cc
@@ -25,7 +25,7 @@
#include "binary-reader.h"
#include "binary-reader-objdump.h"
-#define PROGRAM_NAME "wasmdump"
+#define PROGRAM_NAME "wasm-objdump"
#define NOPE HasArgument::No
#define YEP HasArgument::Yes
@@ -48,7 +48,7 @@ static const char s_description[] =
" Print information about the contents of wasm binaries.\n"
"\n"
"examples:\n"
- " $ wasmdump test.wasm\n";
+ " $ wasm-objdump test.wasm\n";
static Option s_options[] = {
{FLAG_HEADERS, 'h', "headers", nullptr, NOPE, "print headers"},
diff --git a/src/tools/wasmopcodecnt.cc b/src/tools/wasm-opcodecnt.cc
index 49c1c822..2ff37d72 100644
--- a/src/tools/wasmopcodecnt.cc
+++ b/src/tools/wasm-opcodecnt.cc
@@ -26,7 +26,7 @@
#include "option-parser.h"
#include "stream.h"
-#define PROGRAM_NAME "wasmopcodecnt"
+#define PROGRAM_NAME "wasm-opcodecnt"
#define ERROR(fmt, ...) \
fprintf(stderr, "%s:%d: " fmt, __FILE__, __LINE__, __VA_ARGS__)
@@ -62,7 +62,7 @@ static const char s_description[] =
"\n"
"examples:\n"
" # parse binary file test.wasm and write pcode dist file test.dist\n"
- " $ wasmopcodecnt test.wasm -o test.dist\n";
+ " $ wasm-opcodecnt test.wasm -o test.dist\n";
static Option s_options[] = {
{FLAG_VERBOSE, 'v', "verbose", nullptr, NOPE,