Skip to content

Commit

Permalink
Fix typo (see #474)
Browse files Browse the repository at this point in the history
  • Loading branch information
mganss committed Jan 10, 2024
1 parent d3f4508 commit b102c50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ Options:
--cit, --collectionImplementationType=VALUE
the default collection type implementation to use (
default is null)
--csm, --collectionSettersMode=Private, Public, PublicWithoutConstructorInitialization, Init, InitiWithoutConstructorInitialization
--csm, --collectionSettersMode=Private, Public, PublicWithoutConstructorInitialization, Init, InitWithoutConstructorInitialization
generate a private, public, or init-only setter
with or without backing field initialization for
collections
(default is Private; can be: Private, Public,
PublicWithoutConstructorInitialization, Init,
InitiWithoutConstructorInitialization)
InitWithoutConstructorInitialization)
--ctro, --codeTypeReferenceOptions=GlobalReference, GenericTypeParameter
the default CodeTypeReferenceOptions Flags to use (
default is unset; can be: GlobalReference,
Expand Down
2 changes: 1 addition & 1 deletion XmlSchemaClassGenerator.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l
{ "cit|collectionImplementationType=", "the default collection type implementation to use (default is null)", v => collectionImplementationType = v == null ? null : Type.GetType(v, true) },
{ "csm|collectionSettersMode=", @"generate a private, public, or init-only setter
with or without backing field initialization for collections
(default is Private; can be: {Private, Public, PublicWithoutConstructorInitialization, Init, InitiWithoutConstructorInitialization})",
(default is Private; can be: {Private, Public, PublicWithoutConstructorInitialization, Init, InitWithoutConstructorInitialization})",
v =>
{
collectionSettersMode = v switch
Expand Down

0 comments on commit b102c50

Please sign in to comment.