From 3875f3b8fb358d929148a7aae4d7a52d334d88a0 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 2 Mar 2022 14:58:29 -0800 Subject: [PATCH] Fix potential off-by-one error --- Test/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test/Program.cs b/Test/Program.cs index c3028d52..acedf44d 100644 --- a/Test/Program.cs +++ b/Test/Program.cs @@ -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...");