corrected "Invalid or incomplete argument" message x 2

This commit is contained in:
Edward Wright 2019-06-04 21:54:51 -04:00
parent c9cbe4ecc7
commit 521f83724a

View File

@ -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);
}
}