client: check and error out on exceeding number of command line args to pass