Sanity-check command line parameters format