mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Enable log feature when using --log-filename
No reason to not assume that the user wants to enable log when the --log-filename is used. This way uses can skip the use of --log to enable log.
This commit is contained in:
parent
a13fe254f2
commit
c3116b2b56
1 changed files with 1 additions and 0 deletions
|
|
@ -372,6 +372,7 @@ void options_parse(int argc, char *argv[])
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OPT_LOG_FILE:
|
case OPT_LOG_FILE:
|
||||||
|
option.log = true;
|
||||||
option.log_filename = optarg;
|
option.log_filename = optarg;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue