simplified command line validation