diff --git a/src/Generator.Rewrite/Options.cs b/src/Generator.Rewrite/Options.cs index eca85326..e325d61a 100644 --- a/src/Generator.Rewrite/Options.cs +++ b/src/Generator.Rewrite/Options.cs @@ -3,20 +3,35 @@ using CommandLine.Text; namespace OpenTK.Rewrite { + /// + /// A container class used by to parse command line arguments. + /// public class Options { + /// + /// Set the path to the target assembly that should be rewritten. + /// [Option('a', "assembly", Required = true, HelpText = "The path to the target assembly that should be rewritten.")] public string TargetAssembly { get; set; } + /// + /// Set the path to the strong name key which should be used to sign or resign the assembly. + /// [Option('k', "signing-key", HelpText = "The path to the strong name key which should be used to sign or resign the assembly.")] public string StrongNameKey { get; set; } + /// + /// Enable calls to GL.GetError(), wrapped around each native call. + /// [Option('d', "debug", Default = false, HelpText = "Enable calls to GL.GetError(), wrapped around each native call.")] public bool EnableDebugCalls { get; set; } + /// + /// Force native calls to use DllImport instead of GetProcAddress. + /// [Option("dllimport", Default = false, HelpText = "Force native calls to use DllImport instead of GetProcAddress.")] public bool UseDLLImport { get; set; }