From 63e2b24c9002089ed936a4756c39bb96f9270084 Mon Sep 17 00:00:00 2001 From: Saxon Date: Tue, 28 Jan 2020 11:45:18 +1030 Subject: [PATCH] cmd/rv: fixed profile.go and main.go file heaers including USAGE section in main.go --- cmd/rv/main.go | 21 +++++++++++++++++++++ cmd/rv/profile.go | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/cmd/rv/main.go b/cmd/rv/main.go index e9b006eb..ef3997cb 100644 --- a/cmd/rv/main.go +++ b/cmd/rv/main.go @@ -27,6 +27,27 @@ LICENSE You should have received a copy of the GNU General Public License along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. + +USAGE + There must firstly be a netsender configuration file under /etc/netsender.conf. + Example: + + ma 00:00:00:00:00:01 + dk 0 + wi + ip V0, T0 + op + mp 60 + ap 0 + tg + hw + sh vidgrind.appspot.com + + Revid configuration is controlled by valid variables given values on netreceiver + or vidgrind interface. See revid/config for valid variables. + + To run rv simply build and call: + ./rv */ // revid-cli is a command line interface for revid. diff --git a/cmd/rv/profile.go b/cmd/rv/profile.go index 2caa2b95..8595b725 100644 --- a/cmd/rv/profile.go +++ b/cmd/rv/profile.go @@ -3,7 +3,7 @@ /* DESCRIPTION profile.go provides an init to change canProfile flag to true if profile tag - provided on build. + provided on build. AUTHORS Dan Kortschak