mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 10:40:21 +00:00
--video-protocol help fix
--video-protocol help should actually print a list of available protocols
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user