mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
iwasm: Print help when meeting unknown cmd options (#2824)
This commit is contained in:
parent
5f7079f0f5
commit
5377e18623
|
@ -156,6 +156,9 @@ libc_wasi_parse(char *arg, libc_wasi_parse_context_t *ctx)
|
|||
}
|
||||
ctx->ns_lookup_pool[ctx->ns_lookup_pool_size++] = arg + 16;
|
||||
}
|
||||
else {
|
||||
return LIBC_WASI_PARSE_RESULT_NEED_HELP;
|
||||
}
|
||||
return LIBC_WASI_PARSE_RESULT_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user