cmd-line options: allow only-short or only-long options
cmd-line options: better error handling