Fix potential off-by-one error

This commit is contained in:
Matt Nadareski
2022-03-02 14:58:29 -08:00
parent 8c2bedd21e
commit 3875f3b8fb

View File

@@ -64,7 +64,7 @@ namespace Test
}
// If we have no arguments, show the help
if (start >= args.Length - 1)
if (start >= args.Length)
{
DisplayHelp();
Console.WriteLine("Press enter to close the program...");