preslavmihaylov / todocheck

A static code analyser for annotated TODO comments
MIT License
426 stars 42 forks source link

Discard unrecognised flags on program startup #178

Closed preslavmihaylov closed 2 years ago

preslavmihaylov commented 2 years ago

if you run todocheck help instead of todocheck --help instead of getting an error, you'll get the usual app run.

In this case, some error should show up instead.

ghost commented 2 years ago

What error should we show? Just something like "wrong argument(s)" and the help/usage message?