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) while ((v = getopt_long_only(argc, argv, "", long_options, &option_index)) != -1)
{ {
if (v) if (v)
{
if (bDry) if (bDry)
exit_clean(1); exit_clean(1);
else else
exithelp_clean(); exithelp_clean();
}
switch (option_index) switch (option_index)
{ {
case 0: case 0: