From 521f83724a21870c56b476a9616ecc1c3c7cb864 Mon Sep 17 00:00:00 2001 From: Edward Wright Date: Tue, 4 Jun 2019 21:54:51 -0400 Subject: [PATCH] corrected "Invalid or incomplete argument" message x 2 --- SimplySerial/SimplySerial.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SimplySerial/SimplySerial.cs b/SimplySerial/SimplySerial.cs index e5f8536..1f238e8 100644 --- a/SimplySerial/SimplySerial.cs +++ b/SimplySerial/SimplySerial.cs @@ -164,7 +164,7 @@ namespace SimplySerial // the remainder of possible command-line arguments require two parameters, so let's enforce that now else if (argument.Count() < 2) { - ExitProgram(("Invalid or incomplete argument <" + arg + ">\nTry 'SimplySerial help' to see a list of valid arguments"), exitCode: -1); + ExitProgram(("Invalid or incomplete argument <" + arg + ">\nTry 'ss.exe help' to see a list of valid arguments"), exitCode: -1); } // preliminary validate on com port, final validation occurs towards the end of this method @@ -233,7 +233,7 @@ namespace SimplySerial } else { - ExitProgram(("Invalid or incomplete argument <" + arg + ">\nTry 'SimplySerial help' to see a list of valid arguments"), exitCode: -1); + ExitProgram(("Invalid or incomplete argument <" + arg + ">\nTry 'ss.exe -help' to see a list of valid arguments"), exitCode: -1); } }