ENHANCE: cmd line parsing and errors