| 26 | static const char* ARGV_NONE[] = {"prog", "main.wasm"}; |
| 27 | |
| 28 | static CommandParser parse(int argc, const char** argv){ |
| 29 | return CommandParser(argc, argv, { |
| 30 | CommandParser::Optional("--no-system", "Disable system module path", "-ns"), |
| 31 | CommandParser::Optional("--version", "Show version", "-v"), |
| 32 | CommandParser::Optional("--output", "Output file", 1, "-o"), |
| 33 | CommandParser::Fixed("input", "input file", 1), |
| 34 | }); |
| 35 | } |
| 36 | |
| 37 | Suite commandparser { |
| 38 | Test("multi_char_short_alias", { |
no test coverage detected