From 2cba4b863fce08e63c210f9882348d6c989ade6e Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Wed, 19 Oct 2022 22:44:10 +0200 Subject: [PATCH] Update text --- README.md | 8 ++++---- src/options.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1c87aa0..9b571d2 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The command-line interface is straightforward as reflected in the output from ``` Usage: tio [] - Connect to tty device directly or via sub-configuration. + Connect to TTY device directly or via sub-configuration. Options: -b, --baudrate Baud rate (default: 115200) @@ -127,7 +127,7 @@ Which corresponds to the commonly used default options: $ tio -b 115200 -d 8 -f none -s 1 -p none /dev/ttyUSB0 ``` -It is recommended to connect serial tty devices by ID: +It is recommended to connect serial TTY devices by ID: ``` $ tio /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0 ``` @@ -139,7 +139,7 @@ List available serial devices by ID: $ tio --list-devices ``` Note: One can also use tio shell completion on /dev which will automatically -list all available serial tty devices. +list all available serial TTY devices. Log to file with autogenerated filename: ``` @@ -203,7 +203,7 @@ following locations in the order listed: The configuration file supports sub-configurations using named sections which can be activated via the command-line by name or pattern. A sub-configuration -specifies which tty to connect to and other options. +specifies which TTY device to connect to and other options. Example configuration file: diff --git a/src/options.c b/src/options.c index 9daac17..f02da9e 100644 --- a/src/options.c +++ b/src/options.c @@ -99,7 +99,7 @@ void print_help(char *argv[]) printf("Usage: tio [] \n"); printf("\n"); - printf("Connect to tty device directly or via sub-configuration.\n"); + printf("Connect to TTY device directly or via sub-configuration.\n"); printf("\n"); printf("Options:\n"); printf(" -b, --baudrate Baud rate (default: 115200)\n");