summaryrefslogtreecommitdiff
path: root/src/support/command-line.h
diff options
context:
space:
mode:
authorJF Bastien <jfb@chromium.org>2016-03-18 12:40:10 -0700
committerJF Bastien <jfb@chromium.org>2016-03-18 12:40:10 -0700
commit72c5e955d27436d9a6dae4191f6cc6a52676438e (patch)
tree637d16a2bb12996034f6ba25f3f9f1430fa4486f /src/support/command-line.h
parenta3312f5f2390bf3fe515c99d29d22dff201eeaf9 (diff)
downloadbinaryen-72c5e955d27436d9a6dae4191f6cc6a52676438e.tar.gz
binaryen-72c5e955d27436d9a6dae4191f6cc6a52676438e.tar.bz2
binaryen-72c5e955d27436d9a6dae4191f6cc6a52676438e.zip
Make --debug a boolean
As discussed in #248.
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);