You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newTwoColumnHelpRow("?, h, help","Show help and usage information for -c, --config"),
104
104
105
-
// Codegen Options
105
+
newTwoColumnHelpRow("",""),
106
+
newTwoColumnHelpRow("# Codegen Options",""),
107
+
newTwoColumnHelpRow("",""),
106
108
107
109
newTwoColumnHelpRow("compatible-codegen","Bindings should be generated with .NET Standard 2.0 compatibility. Setting this disables preview code generation."),
108
110
newTwoColumnHelpRow("default-codegen","Bindings should be generated for the current LTS version of .NET/C#. This is currently .NET 6/C# 10."),
109
111
newTwoColumnHelpRow("latest-codegen","Bindings should be generated for the current STS version of .NET/C#. This is currently .NET 7/C# 11."),
110
112
newTwoColumnHelpRow("preview-codegen","Bindings should be generated for the preview version of .NET/C#. This is currently .NET 8/C# 12."),
111
113
112
-
// File Options
114
+
newTwoColumnHelpRow("",""),
115
+
newTwoColumnHelpRow("# File Options",""),
116
+
newTwoColumnHelpRow("",""),
113
117
114
118
newTwoColumnHelpRow("single-file","Bindings should be generated to a single output file. This is the default."),
115
119
newTwoColumnHelpRow("multi-file","Bindings should be generated so there is approximately one type per file."),
116
120
117
-
// Type Options
121
+
newTwoColumnHelpRow("",""),
122
+
newTwoColumnHelpRow("# Type Options",""),
123
+
newTwoColumnHelpRow("",""),
118
124
119
125
newTwoColumnHelpRow("unix-types","Bindings should be generated assuming Unix defaults. This is the default on Unix platforms."),
120
126
newTwoColumnHelpRow("windows-types","Bindings should be generated assuming Windows defaults. This is the default on Windows platforms."),
121
127
122
-
// Exclusion Options
128
+
newTwoColumnHelpRow("",""),
129
+
newTwoColumnHelpRow("# Exclusion Options",""),
130
+
newTwoColumnHelpRow("",""),
123
131
124
132
newTwoColumnHelpRow("exclude-anonymous-field-helpers","The helper ref properties generated for fields in nested anonymous structs and unions should not be generated."),
125
133
newTwoColumnHelpRow("exclude-com-proxies","Types recognized as COM proxies should not have bindings generated. These are currently function declarations ending with _UserFree, _UserMarshal, _UserSize, _UserUnmarshal, _Proxy, or _Stub."),
@@ -130,18 +138,24 @@ public static class Program
130
138
newTwoColumnHelpRow("exclude-funcs-with-body","Bindings for functions with bodies should not be generated."),
131
139
newTwoColumnHelpRow("exclude-using-statics-for-enums","Enum usages should be fully qualified and should not include a corresponding 'using static EnumName;'"),
132
140
133
-
// VTBL Options
141
+
newTwoColumnHelpRow("",""),
142
+
newTwoColumnHelpRow("# Vtbl Options",""),
143
+
newTwoColumnHelpRow("",""),
134
144
135
145
newTwoColumnHelpRow("explicit-vtbls","VTBLs should have an explicit type generated with named fields per entry."),
136
146
newTwoColumnHelpRow("implicit-vtbls","VTBLs should be implicit to reduce metadata bloat. This is the current default"),
137
147
newTwoColumnHelpRow("trimmable-vtbls","VTBLs should be defined but not used in helper methods to reduce metadata bloat when trimming."),
138
148
139
-
// Test Options
149
+
newTwoColumnHelpRow("",""),
150
+
newTwoColumnHelpRow("# Test Options",""),
151
+
newTwoColumnHelpRow("",""),
140
152
141
153
newTwoColumnHelpRow("generate-tests-nunit","Basic tests validating size, blittability, and associated metadata should be generated for NUnit."),
142
154
newTwoColumnHelpRow("generate-tests-xunit","Basic tests validating size, blittability, and associated metadata should be generated for XUnit."),
143
155
144
-
// Generation Options
156
+
newTwoColumnHelpRow("",""),
157
+
newTwoColumnHelpRow("# Generation Options",""),
158
+
newTwoColumnHelpRow("",""),
145
159
146
160
newTwoColumnHelpRow("generate-aggressive-inlining","[MethodImpl(MethodImplOptions.AggressiveInlining)] should be added to generated helper functions."),
147
161
newTwoColumnHelpRow("generate-callconv-member-function","Instance function pointers should use [CallConvMemberFunction] where applicable."),
@@ -160,7 +174,9 @@ public static class Program
160
174
newTwoColumnHelpRow("generate-unmanaged-constants","Unmanaged constants should be generated using static ref readonly properties. This is currently experimental."),
161
175
newTwoColumnHelpRow("generate-vtbl-index-attribute","[VtblIndex(#)] attribute should be generated to document the underlying VTBL index for a helper method."),
162
176
163
-
// Logging Options
177
+
newTwoColumnHelpRow("",""),
178
+
newTwoColumnHelpRow("# Logging Options",""),
179
+
newTwoColumnHelpRow("",""),
164
180
165
181
newTwoColumnHelpRow("log-exclusions","A list of excluded declaration types should be generated. This will also log if the exclusion was due to an exact or partial match."),
166
182
newTwoColumnHelpRow("log-potential-typedef-remappings","A list of potential typedef remappings should be generated. This can help identify missing remappings."),
0 commit comments