Add check for number of cmd line arguments.