if should be else if, or else there's a logical error within the parameter check: That is, if both limit and SPCtime are not set, limit will be set to 60, even if the user has provided the track length missing in the SPC file itself via the -t parameter.
if
should beelse if
, or else there's a logical error within the parameter check: That is, if both limit and SPCtime are not set, limit will be set to 60, even if the user has provided the track length missing in the SPC file itself via the-t
parameter.