From ecaf6ec3b978c19953d6cda5bcb97b1f2e1de4c3 Mon Sep 17 00:00:00 2001 From: Edward Wright Date: Mon, 10 May 2021 21:31:51 -0400 Subject: [PATCH] Updated version and help message --- SimplySerial/SimplySerial.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SimplySerial/SimplySerial.cs b/SimplySerial/SimplySerial.cs index c552199..1a52da1 100644 --- a/SimplySerial/SimplySerial.cs +++ b/SimplySerial/SimplySerial.cs @@ -12,7 +12,7 @@ namespace SimplySerial { class SimplySerial { - const string version = "0.5.0-beta"; + const string version = "0.5.0-beta.2"; static List availablePorts; static SerialPort serialPort; @@ -546,11 +546,12 @@ namespace SimplySerial /// 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(" [-logbuffer:VAL] [-quiet]\n"); 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("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");