simplify command line argument handling