Generate error on unknown argument
This commit is contained in:
parent
430b5082dd
commit
7cbf1ef79c
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue