simplified command-line option handling