[#2] Add empty CLI options handling via getopt
[#2] Add empty CLI options handling via getopt

This assumes the availability of the GNU enhanced getopt, though all
modern Linux distros seem to include this by default.

rriegs/confirm