summaryrefslogtreecommitdiff
path: root/src/wasm-interp-sq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-interp-sq.c')
-rw-r--r--src/wasm-interp-sq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wasm-interp-sq.c b/src/wasm-interp-sq.c
index 9635967f..13b460ec 100644
--- a/src/wasm-interp-sq.c
+++ b/src/wasm-interp-sq.c
@@ -92,6 +92,11 @@ enum {
NUM_FLAGS
};
+static const char s_description[] =
+ " read a squirrel file and run it. this squirrel interpreter has\n"
+ " support for reading wasm binary files, via the Wasm.instantiateModule\n"
+ " interface.\n";
+
static WasmOption s_options[] = {
{FLAG_VERBOSE, 'v', "verbose", NULL, NOPE,
"use multiple times for more info"},
@@ -151,6 +156,7 @@ static void on_option_error(struct WasmOptionParser* parser,
static void parse_options(int argc, char** argv) {
WasmOptionParser parser;
WASM_ZERO_MEMORY(parser);
+ parser.description = s_description;
parser.options = s_options;
parser.num_options = WASM_ARRAY_SIZE(s_options);
parser.on_option = on_option;