mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Cleanup: Use dot notation for default options struct
This commit is contained in:
parent
c2024368a0
commit
d35c607d1a
1 changed files with 13 additions and 13 deletions
|
|
@ -36,19 +36,19 @@
|
||||||
/* Default options */
|
/* Default options */
|
||||||
struct option_t option =
|
struct option_t option =
|
||||||
{
|
{
|
||||||
"", // Device name
|
.tty_device = "",
|
||||||
115200, // Baudrate
|
.baudrate = 115200,
|
||||||
8, // Databits
|
.databits = 8,
|
||||||
"none", // Flow
|
.flow = "none",
|
||||||
1, // Stopbits
|
.stopbits = 1,
|
||||||
"none", // Parity
|
.parity = "none",
|
||||||
0, // No output delay
|
.output_delay = 0,
|
||||||
false, // No autoconnect
|
.no_autoconnect = false,
|
||||||
false, // No log
|
.log = false,
|
||||||
false, // No local echo
|
.local_echo = false,
|
||||||
false, // No timestamp
|
.timestamp = false,
|
||||||
"", // Log filename
|
.log_filename = "",
|
||||||
"" // Map string
|
.map = ""
|
||||||
};
|
};
|
||||||
|
|
||||||
void print_help(char *argv[])
|
void print_help(char *argv[])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue