Fix undersample option accepting 0 trunk
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 3 May 2024 10:57:34 +0000 (12:57 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 3 May 2024 10:57:34 +0000 (12:57 +0200)
commit793897be15bdf4ec3bfb09767d8692cc8944b802
tree7364b1df4a8ed0590fcc587a06432570f76a9035
parente9823b4a8dab047d1566ce50db00c5b8d4467a2e
Fix undersample option accepting 0

When -u 0 is specified, it leads to an infinite loop.
The window is then unresponsive which is clearly a bug.
Now the -u 0 option emits a help message.
src/parsing.c