tpws: fix dangling else

This commit is contained in:
bol-van 2024-12-08 08:38:17 +03:00
parent 0f1721d2c4
commit addc813956

View File

@ -711,10 +711,12 @@ void parse_params(int argc, char *argv[])
while ((v = getopt_long_only(argc, argv, "", long_options, &option_index)) != -1)
{
if (v)
{
if (bDry)
exit_clean(1);
else
exithelp_clean();
}
switch (option_index)
{
case 0: