From 1c18c9435adbef97ce26fa2287c6a8debbf4571c Mon Sep 17 00:00:00 2001 From: myd7349 Date: Tue, 16 Jul 2024 19:18:54 +0800 Subject: [PATCH] Add /? alias --- sources/ClangSharpPInvokeGenerator/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/ClangSharpPInvokeGenerator/Program.cs b/sources/ClangSharpPInvokeGenerator/Program.cs index b806b8cc..9191521f 100644 --- a/sources/ClangSharpPInvokeGenerator/Program.cs +++ b/sources/ClangSharpPInvokeGenerator/Program.cs @@ -59,7 +59,7 @@ public static class Program private static readonly string[] s_withTransparentStructOptionAliases = ["--with-transparent-struct", "-wts"]; private static readonly string[] s_withTypeOptionAliases = ["--with-type", "-wt"]; private static readonly string[] s_withUsingOptionAliases = ["--with-using", "-wu"]; - private static readonly string[] s_helpOptionAliases = ["--help", "-?"]; + private static readonly string[] s_helpOptionAliases = ["--help", "-?", "/?"]; private static readonly Option s_additionalOption = GetAdditionalOption(); private static readonly Option s_configOption = GetConfigOption();