|
|
@@ -115,8 +115,8 @@ int main(int argc, char *argv[]) |
|
|
|
if (help) { |
|
|
|
fprintf(stderr, "Zoom Nilm Client\n"); |
|
|
|
fprintf(stderr, "usage: %s [options]\n\n", *argv); |
|
|
|
fprintf(stderr, " -d, --device /dev/ttyUSB0 serial port\n"); |
|
|
|
fprintf(stderr, " -r, --rate 1000000 baud rate\n"); |
|
|
|
fprintf(stderr, " -d, --device %-14s serial port\n", device); |
|
|
|
fprintf(stderr, " -r, --rate %-16d baud rate\n", rate); |
|
|
|
fprintf(stderr, " -x, --hex hex out\n"); |
|
|
|
fprintf(stderr, " -u, --unprocessed dump raw unprocessed data\n"); |
|
|
|
fprintf(stderr, " -s, --screen send \\r instead of \\n\n"); |
|
|
|