Skip to content

Commit 604d448

Browse files
committed
Eliminate the ambiguity of "-h" option
Currently, the "-h" option serves as an alias for both "--headerFile" and "--help" long options, causing ambiguity.
1 parent f0501f7 commit 604d448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/ClangSharpPInvokeGenerator/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static class Program
2828
private static readonly string[] s_excludeOptionAliases = ["--exclude", "-e"];
2929
private static readonly string[] s_fileOptionAliases = ["--file", "-f"];
3030
private static readonly string[] s_fileDirectionOptionAliases = ["--file-directory", "-F"];
31-
private static readonly string[] s_headerOptionAliases = ["--headerFile", "-h"];
31+
private static readonly string[] s_headerOptionAliases = ["--headerFile", "-hf"];
3232
private static readonly string[] s_includeOptionAliases = ["--include", "-i"];
3333
private static readonly string[] s_includeDirectoryOptionAliases = ["--include-directory", "-I"];
3434
private static readonly string[] s_languageOptionAliases = ["--language", "-x"];

0 commit comments

Comments
 (0)