setting verbose mode fix

fixed inverted condition introduced by the commit 2909e464 (2024-05-13)
This commit is contained in:
Martin Pulec
2024-05-20 10:13:04 +02:00
parent 111207abf1
commit 752cc53fe9

View File

@@ -345,7 +345,7 @@ static bool parse_opts_set_logging(int argc, char *argv[])
getopt_long(argc, argv, optstring, getopt_options, nullptr);
switch (ch) {
case 'V':
if (optarg == nullptr) {
if (optarg != nullptr) {
log_opt = optarg;
} else {
logging_lvl += 1;