aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbg.d4
-rw-r--r--main.d2
2 files changed, 2 insertions, 4 deletions
diff --git a/dbg.d b/dbg.d
index 4223678..902e017 100644
--- a/dbg.d
+++ b/dbg.d
@@ -8,9 +8,7 @@ import parser;
//import dbg;
//import value;
-bool DEBUG = true;
-//bool DEBUG = false;
-
+bool DEBUG = false;
bool REPL = false;
diff --git a/main.d b/main.d
index 683eeb0..66542bd 100644
--- a/main.d
+++ b/main.d
@@ -61,7 +61,7 @@ string getCore(bool noCore) {
int main(string[] args) {
bool noCore = false;
- getopt(args, "no-core", &noCore);
+ getopt(args, "no-core", &noCore, "d", &DEBUG);
if (args.length <= 1) {
repl(noCore);