Add --log-append option

Add --log-append option which makes tio append to any existing log file.

This also changes the default behaviour of tio from appending to
overwriting any existing log file. Now you have to use this new option
to make tio append.
This commit is contained in:
Martin Lund 2023-04-28 20:50:31 +02:00
parent 3bedd85e7c
commit 148a3c1da1
7 changed files with 28 additions and 2 deletions

View file

@ -48,6 +48,7 @@ struct option_t
unsigned int ri_pulse_duration;
bool no_autoconnect;
bool log;
bool log_append;
bool log_strip;
bool local_echo;
enum timestamp_t timestamp;