Updated version and help message

This commit is contained in:
Edward Wright 2021-05-10 21:31:51 -04:00
parent 36e4916280
commit ecaf6ec3b9

View File

@ -12,7 +12,7 @@ namespace SimplySerial
{ {
class SimplySerial class SimplySerial
{ {
const string version = "0.5.0-beta"; const string version = "0.5.0-beta.2";
static List<ComPort> availablePorts; static List<ComPort> availablePorts;
static SerialPort serialPort; static SerialPort serialPort;
@ -546,11 +546,12 @@ namespace SimplySerial
/// </summary> /// </summary>
static void ShowHelp() static void ShowHelp()
{ {
Console.WriteLine("\nUsage: ss.exe [-com:PORT] [-baud:RATE] [-parity:PARITY] [-databits:VAL]"); Console.WriteLine($"\n<<< SimplySerial v{version} >>>\n");
Console.WriteLine("Usage: ss.exe [-com:PORT] [-baud:RATE] [-parity:PARITY] [-databits:VAL]");
Console.WriteLine(" [-stopbits:VAL] [-autoconnect:VAL] [-log:LOGFILE] [-logmode:MODE]"); Console.WriteLine(" [-stopbits:VAL] [-autoconnect:VAL] [-log:LOGFILE] [-logmode:MODE]");
Console.WriteLine(" [-logbuffer:VAL] [-quiet]\n"); Console.WriteLine(" [-logbuffer:VAL] [-quiet]\n");
Console.WriteLine("A basic serial terminal for IoT device programming in general, and working with"); Console.WriteLine("A basic serial terminal for IoT device programming in general, and working with");
Console.WriteLine("CircuitPython devices specifically! With no command-line arguments specified,"); Console.WriteLine("CircuitPython devices specifically. With no command-line arguments specified,");
Console.WriteLine("SimplySerial will attempt to identify and connect to a CircuitPython-capable board"); Console.WriteLine("SimplySerial will attempt to identify and connect to a CircuitPython-capable board");
Console.WriteLine("at 9600 baud, no parity, 8 data bits and 1 stop bit. If no known boards are"); Console.WriteLine("at 9600 baud, no parity, 8 data bits and 1 stop bit. If no known boards are");
Console.WriteLine("detected, it will default to the first available serial (COM) port.\n"); Console.WriteLine("detected, it will default to the first available serial (COM) port.\n");