From 5faf5b671a99d8b08dcf8837ef9ab466470eca12 Mon Sep 17 00:00:00 2001 From: Milos Liska Date: Thu, 6 Feb 2020 10:57:19 +0100 Subject: [PATCH] --video-protocol help fix --video-protocol help should actually print a list of available protocols --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 3fef23af1..80e1ffc9f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 ||