summaryrefslogtreecommitdiff
path: root/test_nmea2000
diff options
context:
space:
mode:
authorReinhard Arlt <reinhard.arlt@t-online.de>2015-01-31 11:58:32 +0100
committerReinhard Arlt <reinhard.arlt@t-online.de>2015-01-31 11:58:32 +0100
commitcfdbde32280df8109cdc4be5779915f678325199 (patch)
tree25e587f7a59131602f3bcf2e92a866957454305c /test_nmea2000
parent098f9fc5ca29b1626539df7159978dfd4d1abbc8 (diff)
downloadgpsd-cfdbde32280df8109cdc4be5779915f678325199.tar.gz
Add more help text to test_nmea2000.
Diffstat (limited to 'test_nmea2000')
-rwxr-xr-xtest_nmea200012
1 files changed, 10 insertions, 2 deletions
diff --git a/test_nmea2000 b/test_nmea2000
index f2681604..fe3ec727 100755
--- a/test_nmea2000
+++ b/test_nmea2000
@@ -23,16 +23,24 @@ fi
version()
{
echo
- echo `basename $0`" : Version v0.10";
+ echo `basename $0`" : Version v0.20";
echo
}
usage()
{
version;
- echo "usage :" `basename $0` " [-S <portnumber>] [-u <can_device>] [-p <canplayer>] [-b] testfile";
+ echo "usage :" `basename $0` " [-S <portnumber>] [-u <can_device>] [-p <canplayer>] [-b] <testfile>";
echo " :" `basename $0` " -v";
echo " :" `basename $0` " -h";
+ echo " Options include:";
+ echo " -S <portnumber> = Port for gpsd communication. Default is 2948.";
+ echo " -u <can_device> = Used CAN device. Default is \"vcan0\"";
+ echo " -p <canplayer> = Programm to replay logfile. Default is \"canplayer\"";
+ echo " -b = Create testfile.chk instead of checking it.";
+ echo " -v = Print version and exit.";
+ echo " -h = Print this helptext and exit.";
+ echo " <testfile> = A file created by \"candump -l <can_device> ><testfile>\".";
echo
}