mirror of
https://github.com/fasteddy516/SimplySerial.git
synced 2024-11-24 10:04:35 +00:00
corrected "Invalid or incomplete argument" message x 2
This commit is contained in:
parent
c9cbe4ecc7
commit
521f83724a
@ -164,7 +164,7 @@ namespace SimplySerial
|
|||||||
// the remainder of possible command-line arguments require two parameters, so let's enforce that now
|
// the remainder of possible command-line arguments require two parameters, so let's enforce that now
|
||||||
else if (argument.Count() < 2)
|
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
|
// preliminary validate on com port, final validation occurs towards the end of this method
|
||||||
@ -233,7 +233,7 @@ namespace SimplySerial
|
|||||||
}
|
}
|
||||||
else
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user