cmd line option helper