From e06ac66757bc103f3d6e8f57ac02920a607df638 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 30 Sep 2013 16:03:50 +0200 Subject: [PATCH] Fixed TS connector option information. --- src/connectors/conn_ts.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/connectors/conn_ts.cpp b/src/connectors/conn_ts.cpp index 4c063ca4..1733bc73 100644 --- a/src/connectors/conn_ts.cpp +++ b/src/connectors/conn_ts.cpp @@ -200,10 +200,10 @@ int main(int argc, char ** argv){ capa["required"]["streamname"]["help"] = "What streamname to serve. For multiple streams, add this protocol multiple times using different ports."; capa["required"]["streamname"]["type"] = "str"; capa["required"]["streamname"]["option"] = "--stream"; - capa["required"]["tracks"]["name"] = "Tracks"; - capa["required"]["tracks"]["help"] = "The track IDs of the stream that this connector will transmit separated by spaces"; - capa["required"]["tracks"]["type"] = "str"; - capa["required"]["tracks"]["option"] = "--tracks"; + capa["optional"]["tracks"]["name"] = "Tracks"; + capa["optional"]["tracks"]["help"] = "The track IDs of the stream that this connector will transmit separated by spaces"; + capa["optional"]["tracks"]["type"] = "str"; + capa["optional"]["tracks"]["option"] = "--tracks"; conf.addOption("streamname", JSON::fromString("{\"arg\":\"string\",\"short\":\"s\",\"long\":\"stream\",\"help\":\"The name of the stream that this connector will transmit.\"}")); conf.addOption("tracks",