summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-05-19 12:40:40 -0700
committerGitHub <noreply@github.com>2021-05-19 12:40:40 -0700
commit3ecad7a543e4ff1395e64b91efbddbbd0d9710a2 (patch)
tree202241bf27006dc122e674d9616379d71b7c072c /src
parentf308e37f42c33d18bafbbbf821a70a1ca2d7e655 (diff)
downloadbinaryen-3ecad7a543e4ff1395e64b91efbddbbd0d9710a2.tar.gz
binaryen-3ecad7a543e4ff1395e64b91efbddbbd0d9710a2.tar.bz2
binaryen-3ecad7a543e4ff1395e64b91efbddbbd0d9710a2.zip
Fix usage comment for ExtractFunction (#3896)
Fixes #3895
Diffstat (limited to 'src')
-rw-r--r--src/passes/ExtractFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/ExtractFunction.cpp b/src/passes/ExtractFunction.cpp
index 77c0cabb6..ac3be9366 100644
--- a/src/passes/ExtractFunction.cpp
+++ b/src/passes/ExtractFunction.cpp
@@ -29,7 +29,7 @@ struct ExtractFunction : public Pass {
void run(PassRunner* runner, Module* module) override {
Name name = runner->options.getArgument(
"extract-function",
- "ExtractFunction usage: wasm-opt --extract-function@FUNCTION_NAME");
+ "ExtractFunction usage: wasm-opt --extract-function=FUNCTION_NAME");
std::cerr << "extracting " << name << "\n";
bool found = false;
for (auto& func : module->functions) {