aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index fcf112e6..e86cd5b1 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -69,6 +69,7 @@ int main(int argc, char *argv[])
po::options_description options("Allowed options");
options.add_options()("help,h", "show help");
options.add_options()("verbose,v", "verbose output");
+ options.add_options()("debug", "debug output");
options.add_options()("force,f", "keep running after errors");
options.add_options()("gui", "start gui");
options.add_options()("svg", "dump SVG file");
@@ -201,6 +202,11 @@ int main(int argc, char *argv[])
ctx.verbose = true;
}
+ if (vm.count("debug")) {
+ ctx.verbose = true;
+ ctx.debug = true;
+ }
+
if (vm.count("force")) {
ctx.force = true;
}