--video-protocol help fix

--video-protocol help should actually print a list of available
protocols
This commit is contained in:
Milos Liska
2020-02-06 10:57:19 +01:00
parent 1a8523f12c
commit 5faf5b671a

View File

@@ -839,6 +839,10 @@ int main(int argc, char *argv[])
*delim = '\0';
video_protocol_opts = delim + 1;
}
if (strcmp(video_protocol, "help") == 0) {
video_rxtx::list(strcmp(optarg, "fullhelp") == 0);
EXIT(EXIT_SUCCESS);
}
break;
case OPT_PROTOCOL:
if (strcmp(optarg, "help") == 0 ||