Browse Source

Generate error on unknown argument

master
Starbeamrainbowlabs 4 years ago
parent
commit
7cbf1ef79c
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 4
      RhinoReminds/Program.cs

4
RhinoReminds/Program.cs

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

Loading…
Cancel
Save