diff --git a/ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs b/ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs index 3a641d50c..01de79d53 100644 --- a/ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs +++ b/ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs @@ -149,7 +149,7 @@ Examples: [Option(generateDiagrammerCmd + "-report-excluded", "Outputs a report of types excluded from the generated diagrammer" + $" - whether by default because compiler-generated, explicitly by '{exclude}' or implicitly by '{include}'." + " You may find this useful to develop and debug your regular expressions.", CommandOptionType.NoValue)] - public bool ReportExludedTypes { get; set; } + public bool ReportExcludedTypes { get; set; } [Option(generateDiagrammerCmd + "-docs", "The path or file:// URI of the XML file containing the target assembly's documentation comments." + " 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 @@ Examples: OutputFolder = OutputDirectory, Include = Include, Exclude = Exclude, - ReportExludedTypes = ReportExludedTypes, + ReportExcludedTypes = ReportExcludedTypes, JsonOnly = JsonOnly, XmlDocs = XmlDocs, StrippedNamespaces = StrippedNamespaces diff --git a/ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs b/ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs index c5abf806d..a641b0983 100644 --- a/ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs +++ b/ICSharpCode.ILSpyX/MermaidDiagrammer/GenerateHtmlDiagrammer.cs @@ -32,7 +32,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer public string? Include { get; set; } public string? Exclude { get; set; } public bool JsonOnly { get; set; } - public bool ReportExludedTypes { get; set; } + public bool ReportExcludedTypes { get; set; } public string? XmlDocs { get; set; } /// Namespaces to strip from . diff --git a/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs b/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs index 6ba241a4a..2a94d1b6b 100644 --- a/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs +++ b/ICSharpCode.ILSpyX/MermaidDiagrammer/Generator.Run.cs @@ -127,7 +127,7 @@ namespace ICSharpCode.ILSpyX.MermaidDiagrammer Debug.WriteLine("Successfully generated HTML diagrammer."); } - if (ReportExludedTypes) + if (ReportExcludedTypes) { string excludedTypes = model.Excluded.Join(Environment.NewLine); File.WriteAllText(Path.Combine(outputFolder, "excluded types.txt"), excludedTypes);