diff --git a/src/video_capture/decklink.cpp b/src/video_capture/decklink.cpp index 4f3dd4e38..c396b1b6a 100644 --- a/src/video_capture/decklink.cpp +++ b/src/video_capture/decklink.cpp @@ -615,7 +615,14 @@ decklink_help(bool full, const char *query_prop_fcc = nullptr) } cout << "\n"; if (!full) { - col() << "Possible connections: " << TBOLD("SDI") << ", " << TBOLD("HDMI") << ", " << TBOLD("OpticalSDI") << ", " << TBOLD("Component") << ", " << TBOLD("Composite") << ", " << TBOLD("SVideo") << "\n"; + col() << "Possible connections:"; + for (const auto &i : get_connection_string_map()) { + col() << (i == *get_connection_string_map().cbegin() + ? " " + : ", ") + << SBOLD(i.second); + } + cout << "\n"; } cout << "\n";