Update main.swift

This commit is contained in:
Yeo Kheng Meng
2016-10-29 21:24:03 +08:00
committed by GitHub
parent 4522b9261e
commit 0c14b6d2b9

View File

@@ -4,7 +4,7 @@ import SwiftSerial
let arguments = CommandLine.arguments let arguments = CommandLine.arguments
guard arguments.count >= 2 else { guard arguments.count >= 2 else {
print("Need serial port name, e.g. /dev/ttyUSB0 as the first argument.") print("Need serial port name, e.g. /dev/ttyUSB0 or /dev/cu.usbserial as the first argument.")
exit(1) exit(1)
} }