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

View file

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