mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update text
This commit is contained in:
parent
fba56318f8
commit
2cba4b863f
2 changed files with 5 additions and 5 deletions
|
|
@ -69,7 +69,7 @@ The command-line interface is straightforward as reflected in the output from
|
||||||
```
|
```
|
||||||
Usage: tio [<options>] <tty-device|sub-config>
|
Usage: tio [<options>] <tty-device|sub-config>
|
||||||
|
|
||||||
Connect to tty device directly or via sub-configuration.
|
Connect to TTY device directly or via sub-configuration.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-b, --baudrate <bps> Baud rate (default: 115200)
|
-b, --baudrate <bps> 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
|
$ 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
|
$ 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
|
$ tio --list-devices
|
||||||
```
|
```
|
||||||
Note: One can also use tio shell completion on /dev which will automatically
|
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:
|
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
|
The configuration file supports sub-configurations using named sections which can
|
||||||
be activated via the command-line by name or pattern. A sub-configuration
|
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:
|
Example configuration file:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ void print_help(char *argv[])
|
||||||
|
|
||||||
printf("Usage: tio [<options>] <tty-device|sub-config>\n");
|
printf("Usage: tio [<options>] <tty-device|sub-config>\n");
|
||||||
printf("\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("\n");
|
||||||
printf("Options:\n");
|
printf("Options:\n");
|
||||||
printf(" -b, --baudrate <bps> Baud rate (default: 115200)\n");
|
printf(" -b, --baudrate <bps> Baud rate (default: 115200)\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue