summaryrefslogtreecommitdiffstats
path: root/src/bs11_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bs11_config.c')
-rw-r--r--src/bs11_config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bs11_config.c b/src/bs11_config.c
index 57ed9023e..ceb23a8e2 100644
--- a/src/bs11_config.c
+++ b/src/bs11_config.c
@@ -701,6 +701,7 @@ static void handle_options(int argc, char **argv)
{ "win-size", 1, 0, 'w' },
{ "forced", 0, 0, 'f' },
{ "restart", 0, 0, 'r' },
+ { "debug", 1, 0, 'b'},
};
c = getopt_long(argc, argv, "hp:s:S:td:Dw:fra:",
@@ -716,6 +717,9 @@ static void handle_options(int argc, char **argv)
case 'p':
serial_port = optarg;
break;
+ case 'b':
+ debug_parse_category_mask(optarg);
+ break;
case 's':
fname_software = optarg;
break;