mirror of
https://github.com/fasteddy516/SimplySerial.git
synced 2024-11-14 14:04:36 +00:00
Fix new -forcenewline argument
This commit is contained in:
parent
f0fea8a534
commit
097850747e
@ -424,6 +424,12 @@ namespace SimplySerial
|
||||
SimplySerial.Quiet = true;
|
||||
}
|
||||
|
||||
// force linefeeds in place of carriage returns in received data
|
||||
else if (argument[0].StartsWith("f"))
|
||||
{
|
||||
forceNewline = true;
|
||||
}
|
||||
|
||||
// the remainder of possible command-line arguments require two parameters, so let's enforce that now
|
||||
else if (argument.Count() < 2)
|
||||
{
|
||||
@ -527,12 +533,6 @@ namespace SimplySerial
|
||||
logFile = argument[1];
|
||||
}
|
||||
|
||||
// force linefeeds in place of carriage returns in received data
|
||||
else if (argument[0].StartsWith("f"))
|
||||
{
|
||||
forceNewline = true;
|
||||
}
|
||||
|
||||
// an invalid/incomplete argument was passed
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user