summaryrefslogtreecommitdiff
path: root/src/support/command-line.h
diff options
context:
space:
mode:
authorJF Bastien <jfb@chromium.org>2016-01-13 10:48:44 -0800
committerJF Bastien <jfb@chromium.org>2016-01-13 10:48:44 -0800
commit80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575 (patch)
treed6dc07b081ed5c7e3a44bf1827c9b7d285d1a456 /src/support/command-line.h
parent2a0404579a2c061a965e2ac032801e250ab7f2bc (diff)
parent3da40ef949ddfac78df2db33e6b35e14f54cb78c (diff)
downloadbinaryen-80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575.tar.gz
binaryen-80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575.tar.bz2
binaryen-80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575.zip
Merge branch 'master' of github.com:WebAssembly/binaryen
Diffstat (limited to 'src/support/command-line.h')
-rw-r--r--src/support/command-line.h4
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);