Generate error on unknown argument

This commit is contained in:
Starbeamrainbowlabs 2018-12-27 13:38:23 +00:00
parent 430b5082dd
commit 7cbf1ef79c
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,10 @@ namespace RhinoReminds
case "--pidfile":
settings.PidFile = args[++i];
break;
default:
Console.Error.WriteLine($"Error: Unknown argument '{args[i]}'.");
return 14;
}
}