From: Tobias Date: Wed, 24 May 2017 07:23:53 +0000 (+0200) Subject: spelling correction X-Git-Url: https://git.smho.de/?a=commitdiff_plain;h=454e68c45f69b41c7785e852cb75eaf5f32f8bc7;p=owTools.git spelling correction --- diff --git a/src/main.cpp b/src/main.cpp index 5595980..9a998e2 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -102,19 +102,19 @@ #endif void printhelp() { -printf("owTools - Programm for reading und controlling 1-Wire Devices from www.tm3d.de\n\n"); +printf("owTools - Program for reading and controlling 1-Wire Devices from www.tm3d.de\n\n"); printf("run: owTools -a [COMn|USBn|GPIOn] [options]\n\n"); printf(" COMn -> Adapter DS9097 and compatible (e.g. LinkUSB)\n"); printf(" n=1 -> Windows COM1 -> Linux /dev/ttyS1\n"); printf(" USBn -> Adapter DS2490/DS9490 \n"); printf(" n=1 -> first USB-Adapter \n"); -printf(" GPIOn -> port of Raspberry PI (port Name not Pin number)\n\n"); -printf("options:\n"); +printf(" GPIOn -> port of RaspberrPI (port Name not Pin number)\n\n"); +printf("Options:\n"); printf(" -i interactive mode\n"); printf(" select a device and get information about it\n"); printf(" -c read and print all continuous\n"); printf(" -p time in sec between readings\n"); -printf(" -d [config file] put all Data in mysql Database descripted in Config file\n"); +printf(" -d [config file] put all Data in mysql Database descripted in config file\n"); printf(" Config file: \n"); printf(" [server]\n"); printf(" [port] -> 3306\n"); @@ -122,15 +122,16 @@ printf(" [user] \n"); printf(" [password]\n"); printf(" [database]\n"); printf(" [prefix] -> a prefix of all tables \n\n"); -printf(" -r Search everytime for new Devices\n"); -printf(" -f hexfile Flash new\n"); +printf(" -r Search every time for new Devices\n"); +printf(" -f [hexfile] flash new\n"); printf(" -n change id \n"); printf(" -g get from server\n"); -printf(" -w [1|2] show Warnings (1) or all Infos (2)\n"); +printf(" -w [1|2] show Warnings (1) or all information (2)\n"); printf(" -m memory functions\n"); + }