Parses the command line it was called from and collects all
options and valid segments.

I tried to use getopt but had it fail occasionally to find any
options but argc has always had our back. We don't have all of the power
of getopt but this does us just fine.