parseOptions

Parse command line args into fields

Return

An Options struct

Parameters

args

The command line arguments

Throws

if any of the CLI args are invalid

System.err required: command line tool