diff options
author | JF Bastien <jfb@chromium.org> | 2016-01-11 17:23:27 -0800 |
---|---|---|
committer | JF Bastien <jfb@chromium.org> | 2016-01-11 17:23:27 -0800 |
commit | 1b3600b0aca6a8f23b6d9e8ae33dcd75c9493810 (patch) | |
tree | 606226cd0b851f09999647643476c492a80a93a3 /src/support/command-line.h | |
parent | 75a562190a9f4588c8ffb19b8304f76c15a850c6 (diff) | |
download | binaryen-1b3600b0aca6a8f23b6d9e8ae33dcd75c9493810.tar.gz binaryen-1b3600b0aca6a8f23b6d9e8ae33dcd75c9493810.tar.bz2 binaryen-1b3600b0aca6a8f23b6d9e8ae33dcd75c9493810.zip |
asm2wasm: use support's command-line
Diffstat (limited to 'src/support/command-line.h')
-rw-r--r-- | src/support/command-line.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support/command-line.h b/src/support/command-line.h index 14dbce57f..6e0af846e 100644 --- a/src/support/command-line.h +++ b/src/support/command-line.h @@ -35,9 +35,9 @@ namespace wasm { class Options { public: typedef std::function<void(Options *, const std::string &)> Action; - enum class Arguments { Zero, One, N }; + enum class Arguments { Zero, One, N, Optional }; - bool debug; + int debug; std::map<std::string, std::string> extra; Options(const std::string &command, const std::string &description); |