initial import of command-line option handling