From 8a513ba56ee1f4c8e87066057c1c51e308d259f5 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Wed, 12 Jun 2024 09:41:15 +1000 Subject: [PATCH] Add `--help` command-line flag --- src/BizHawk.Client.Common/ArgParser.cs | 25 +++++++++++++++++++++++-- src/BizHawk.Client.EmuHawk/Program.cs | 3 ++- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Client.Common/ArgParser.cs b/src/BizHawk.Client.Common/ArgParser.cs index bd1c0c93d6f..da868d18b5b 100644 --- a/src/BizHawk.Client.Common/ArgParser.cs +++ b/src/BizHawk.Client.Common/ArgParser.cs @@ -26,6 +26,8 @@ public BespokeOption(string name, string description) private static readonly Argument ArgumentRomFilePath = new("rom", () => null); + private static readonly IReadOnlyList