Closed dwatteau closed 2 years ago
Sometimes I do this, by mistake:
scummrp -g monkey2 -of tmp.txt
i.e. I call scummrp instead of scummtr.
scummrp
scummtr
The problem is that scummrp doesn't complain if you give it a -f tmp.txt option, even if it doesn't have any -f option.
-f tmp.txt
-f
So, we should probably error out when someone tries to use an unknown option, because it's quite likely that the user made a mistake.
Done in commit 6d7c072ad4b1c81ba9f91a21b060205be25cd073.
Sometimes I do this, by mistake:
i.e. I call
scummrp
instead ofscummtr
.The problem is that
scummrp
doesn't complain if you give it a-f tmp.txt
option, even if it doesn't have any-f
option.So, we should probably error out when someone tries to use an unknown option, because it's quite likely that the user made a mistake.