summaryrefslogtreecommitdiff
path: root/src/support/command-line.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-18 14:09:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-03-18 14:09:15 -0700
commitcd87eb847378d038342a8e9b73960e74352d29ed (patch)
treee1a04607c372006c5daa78e6c750d7b57d4196a2 /src/support/command-line.h
parenta3312f5f2390bf3fe515c99d29d22dff201eeaf9 (diff)
parentac74a808876a27f44a0eb66cef7cb441be1c2017 (diff)
downloadbinaryen-cd87eb847378d038342a8e9b73960e74352d29ed.tar.gz
binaryen-cd87eb847378d038342a8e9b73960e74352d29ed.tar.bz2
binaryen-cd87eb847378d038342a8e9b73960e74352d29ed.zip
Merge pull request #256 from WebAssembly/debug
Make --debug a boolean
Diffstat (limited to 'src/support/command-line.h')
-rw-r--r--src/support/command-line.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/command-line.h b/src/support/command-line.h
index 6e0af846e..7c3ae528f 100644
--- a/src/support/command-line.h
+++ b/src/support/command-line.h
@@ -37,7 +37,7 @@ class Options {
typedef std::function<void(Options *, const std::string &)> Action;
enum class Arguments { Zero, One, N, Optional };
- int debug;
+ bool debug;
std::map<std::string, std::string> extra;
Options(const std::string &command, const std::string &description);