From 6998faa61befb96802d8a72d267f83a9c3329d6d Mon Sep 17 00:00:00 2001 From: Philemon Eichin Date: Thu, 18 Jul 2024 13:04:31 +0200 Subject: [PATCH] Fix `namingscheme` parameter The value of the naming scheme parameter was ignored --- XmlSchemaClassGenerator.Console/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XmlSchemaClassGenerator.Console/Program.cs b/XmlSchemaClassGenerator.Console/Program.cs index b0e60e1..de83521 100644 --- a/XmlSchemaClassGenerator.Console/Program.cs +++ b/XmlSchemaClassGenerator.Console/Program.cs @@ -163,7 +163,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l { "uc|unionCommonType", "generate a common type for unions if possible (default is false)", v => unionCommonType = v != null }, { "ec|serializeEmptyCollections", "serialize empty collections (default is false)", v => serializeEmptyCollections = v != null }, { "dtd|allowDtdParse", "allows dtd parse (default is false)", v => allowDtdParse = v != null }, - { "ns|namingScheme", @"use the specified naming scheme for class and property names (default is Pascal; can be: Direct, Pascal, Legacy)", + { "ns|namingScheme=", @"use the specified naming scheme for class and property names (default is Pascal; can be: Direct, Pascal, Legacy)", v => { namingScheme = v?.ToLowerInvariant() switch