mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Added unit for baudrate
This commit is contained in:
parent
4eaff1df9d
commit
edeb79b02c
3 changed files with 4 additions and 4 deletions
2
README
2
README
|
|
@ -22,7 +22,7 @@
|
|||
Usage: gotty [<options>] <tty device>
|
||||
|
||||
Options:
|
||||
-b, --baudrate <baudrate> Baud rate (default: 115200)
|
||||
-b, --baudrate <bps> Baud rate (default: 115200)
|
||||
-d, --databits 5|6|7|8 Data bits (default: 8)
|
||||
-f, --flow hard|soft|none Flow control (default: none)
|
||||
-s, --stopbits 1|2 Stop bits (default: 1)
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ interface to easily connect to TTY devices for basic input/output.
|
|||
.SH "OPTIONS"
|
||||
|
||||
.TP
|
||||
.B \-b, \--baudrate <baudrate>
|
||||
.B \-b, \--baudrate <bps>
|
||||
|
||||
Set baud rate (default: 115200).
|
||||
Set baud rate [bps] (default: 115200).
|
||||
.TP
|
||||
.B \-d, \--databits 5|6|7|8
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ void print_options_help(char *argv[])
|
|||
printf("Usage: %s [<options>] <tty device>\n", argv[0]);
|
||||
printf("\n");
|
||||
printf("Options:\n");
|
||||
printf(" -b, --baudrate <baudrate> Baud rate (default: 115200)\n");
|
||||
printf(" -b, --baudrate <bps> Baud rate (default: 115200)\n");
|
||||
printf(" -d, --databits 5|6|7|8 Data bits (default: 8)\n");
|
||||
printf(" -f, --flow hard|soft|none Flow control (default: none)\n");
|
||||
printf(" -s, --stopbits 1|2 Stop bits (default: 1)\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue