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:
Martin Lund 2022-07-23 10:40:27 +02:00
parent a13fe254f2
commit c3116b2b56

View file

@ -372,6 +372,7 @@ void options_parse(int argc, char *argv[])
break;
case OPT_LOG_FILE:
option.log = true;
option.log_filename = optarg;
break;