summaryrefslogtreecommitdiff
path: root/src/tools/wasm-shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-shell.cpp')
-rw-r--r--src/tools/wasm-shell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp
index 872d40c67..b282e1885 100644
--- a/src/tools/wasm-shell.cpp
+++ b/src/tools/wasm-shell.cpp
@@ -79,6 +79,8 @@ protected:
parseAssertException(s);
} else if ((id == ASSERT_INVALID) || (id == ASSERT_MALFORMED)) {
parseModuleAssertion(s);
+ } else {
+ Fatal() << s.line << ": unknown command\n";
}
}