prints usage for handling error input

see the title of this PR :)