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
Copy file name to clipboardExpand all lines: XmlSchemaClassGenerator.Console/Program.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ static void Main(string[] args)
54
54
varuniqueTypeNamesAcrossNamespaces=false;
55
55
varcreateGeneratedCodeAttributeVersion=true;
56
56
varnetCoreSpecificCode=false;
57
+
vargenerateCommandLineArgs=true;
57
58
58
59
varoptions=newOptionSet{
59
60
{"h|help","show this message and exit", v =>showHelp=v!=null},
@@ -126,6 +127,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
126
127
{"un|uniqueTypeNames","generate type names that are unique across namespaces (default is false)", v =>uniqueTypeNamesAcrossNamespaces=v!=null},
127
128
{"gc|generatedCodeAttribute","add version information to GeneratedCodeAttribute (default is true)", v =>createGeneratedCodeAttributeVersion=v!=null},
128
129
{"nc|netCore","generate .NET Core specific code that might not work with .NET Framework (default is false)", v =>netCoreSpecificCode=v!=null},
130
+
{"ca|commandArgs","generate a comment with the exact command line arguments that were used to generate the source code (default is true)", v =>generateCommandLineArgs=v!=null},
129
131
};
130
132
131
133
varglobsAndUris=options.Parse(args);
@@ -200,7 +202,8 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
0 commit comments