From 49b8ecf6c338aa764aa70df781c7efbf4492ed2a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 6 Oct 2025 18:05:14 -0400 Subject: [PATCH] Fix minor typo in verify inputs check --- CHANGELIST.md | 1 + MPF.Check/Features/InteractiveFeature.cs | 2 +- MPF.Check/Program.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index 40af3d49..2b47d6c8 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -17,6 +17,7 @@ - Fix strange invocations of extension methods - Remove CommandOptions implementations - Exit early on parsing failures +- Fix minor typo in verify inputs check ### 3.4.2 (2025-09-30) diff --git a/MPF.Check/Features/InteractiveFeature.cs b/MPF.Check/Features/InteractiveFeature.cs index 18af9ff0..0a9dac46 100644 --- a/MPF.Check/Features/InteractiveFeature.cs +++ b/MPF.Check/Features/InteractiveFeature.cs @@ -216,6 +216,6 @@ namespace MPF.Check.Features } /// - public override bool VerifyInputs() => true; + public override bool VerifyInputs() => Inputs.Count > 0; } } diff --git a/MPF.Check/Program.cs b/MPF.Check/Program.cs index d9281551..d3c31e17 100644 --- a/MPF.Check/Program.cs +++ b/MPF.Check/Program.cs @@ -47,7 +47,7 @@ namespace MPF.Check DisplayHelp(); return; } - else if (!mainFeature.VerifyInputs()) + else if (!interactive.VerifyInputs()) { DisplayHelp("At least one input is required"); return;