manages invalid input

rejects invalid command argument