Skip to content

Commit e7a64f3

Browse files
petercrabtreesiegfriedpammer
authored andcommitted
dev: Correct typo in ReportExcludedTypes (ilspycmd)
1 parent 31e83fd commit e7a64f3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class ILSpyCmdProgram
149149
[Option(generateDiagrammerCmd + "-report-excluded", "Outputs a report of types excluded from the generated diagrammer" +
150150
$" - whether by default because compiler-generated, explicitly by '{exclude}' or implicitly by '{include}'." +
151151
" You may find this useful to develop and debug your regular expressions.", CommandOptionType.NoValue)]
152-
public bool ReportExludedTypes { get; set; }
152+
public bool ReportExcludedTypes { get; set; }
153153

154154
[Option(generateDiagrammerCmd + "-docs", "The path or file:// URI of the XML file containing the target assembly's documentation comments." +
155155
" You only need to set this if a) you want your diagrams annotated with them and b) the file name differs from that of the assmbly." +
@@ -221,7 +221,7 @@ private async Task<int> OnExecuteAsync(CommandLineApplication app)
221221
OutputFolder = OutputDirectory,
222222
Include = Include,
223223
Exclude = Exclude,
224-
ReportExludedTypes = ReportExludedTypes,
224+
ReportExcludedTypes = ReportExcludedTypes,
225225
JsonOnly = JsonOnly,
226226
XmlDocs = XmlDocs,
227227
StrippedNamespaces = StrippedNamespaces

ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public partial class GenerateHtmlDiagrammer
3232
public string? Include { get; set; }
3333
public string? Exclude { get; set; }
3434
public bool JsonOnly { get; set; }
35-
public bool ReportExludedTypes { get; set; }
35+
public bool ReportExcludedTypes { get; set; }
3636
public string? XmlDocs { get; set; }
3737

3838
/// <summary>Namespaces to strip from <see cref="XmlDocs"/>.

ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private void GenerateOutput(string assemblyPath, ClassDiagrammer model)
127127
Debug.WriteLine("Successfully generated HTML diagrammer.");
128128
}
129129

130-
if (ReportExludedTypes)
130+
if (ReportExcludedTypes)
131131
{
132132
string excludedTypes = model.Excluded.Join(Environment.NewLine);
133133
File.WriteAllText(Path.Combine(outputFolder, "excluded types.txt"), excludedTypes);

0 commit comments

Comments
 (0)