From a421e4cee8a4315e209835a08aef0f3c4f22b59b Mon Sep 17 00:00:00 2001 From: saxon Date: Fri, 30 Nov 2018 22:29:20 +1030 Subject: [PATCH] revid-cli: moved todo comment to correct position above output1 and output2 flag declarations --- cmd/revid-cli/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 0ac071df..016ed656 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -105,11 +105,11 @@ var ( cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`") useNetsender = flag.Bool("NetSender", false, "Are we checking vars through netsender?") runDurationPtr = flag.Duration("runDuration", defaultRunDuration, "How long do you want revid to run for?") - // TODO: We should make this a comma-separated list that can have an arbitrary - //number of targets. Duplicating fields to do this is a code smell. - flagNames = [noOfConfigFlags]struct{ name, description string }{ + flagNames = [noOfConfigFlags]struct{ name, description string }{ {"Input", "The input type: Raspivid, File"}, {"InputCodec", "The codec of the input: H264, Mjpeg"}, + // TODO: We should make this a comma-separated list that can have an arbitrary + //number of targets. {"Output1", "The first output type: Http, Rtmp, File, Udp, Rtp"}, {"Output2", "The second output type: Http, Rtmp, File, Udp, Rtp"}, {"RtmpMethod", "The method used to send over rtmp: Ffmpeg, Librtmp"},