The error message, "Serial port name is required", means that you did not include one of the required parameters, the name of your serial port. Please include it and try again. Example:
-r COM2. Use Device Manager in Windows to find out your actual COM port number.