diff --git a/monitor/main.c b/monitor/main.c
index 27a5722..8285a48 100644
--- a/monitor/main.c
+++ b/monitor/main.c
"\t-i, --index <num> Show only specified controller\n"
"\t-t, --time Show time instead of time offset\n"
"\t-T, --date Show time and date information\n"
+ "\t-S, --sco Dump SCO traffic\n"
"\t-h, --help Show help options\n");
}
{ "index", required_argument, NULL, 'i' },
{ "time", no_argument, NULL, 't' },
{ "date", no_argument, NULL, 'T' },
+ { "sco", no_argument, NULL, 'S' },
{ "version", no_argument, NULL, 'v' },
{ "help", no_argument, NULL, 'h' },
{ }
for (;;) {
int opt;
- opt = getopt_long(argc, argv, "r:w:s:i:tTvh",
+ opt = getopt_long(argc, argv, "r:w:s:i:tTSvh",
main_options, NULL);
if (opt < 0)
break;
filter_mask |= PACKET_FILTER_SHOW_TIME;
filter_mask |= PACKET_FILTER_SHOW_DATE;
break;
+ case 'S':
+ filter_mask |= PACKET_FILTER_SHOW_SCO_DATA;
+ break;
case 'v':
printf("%s\n", VERSION);
return EXIT_SUCCESS;