Arg and catch invalid opt

See #17 and #18