From 58e8ab00ca4433a046ec08b614c3d32a47a3b1fb Mon Sep 17 00:00:00 2001 From: Matthew Carney Date: Sun, 15 Oct 2023 15:28:18 +0100 Subject: [PATCH] Updated argument count for showing help message --- LilSyncy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LilSyncy.cpp b/LilSyncy.cpp index 031a146..734c0e8 100644 --- a/LilSyncy.cpp +++ b/LilSyncy.cpp @@ -60,7 +60,7 @@ int LilSyncy::Run(int argc, wchar_t* argv[]) void LilSyncy::ParseArguments(int argc, wchar_t* argv[]) { - if (argc == 0) + if (argc == 1) { printf("LilSyncy (v%.1f) \n%s", VERSION, USAGE_TEXT); std::exit(0);