From fd9afb4601381364e3a5d4935782977b0c446a88 Mon Sep 17 00:00:00 2001 From: quobix Date: Fri, 19 Dec 2025 09:49:26 -0500 Subject: [PATCH] Fixed the conflict with the use-cdn and config flags. Fix the shorthand config problem that we have conflicting with the markdown and the HTML report. --- cmd/html_report.go | 2 +- cmd/markdown_report.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/html_report.go b/cmd/html_report.go index e4b2f05..efa27c4 100644 --- a/cmd/html_report.go +++ b/cmd/html_report.go @@ -279,7 +279,7 @@ func GetHTMLReportCommand() *cobra.Command { }, } cmd.Flags().BoolP("no-color", "n", false, "Disable color and style output (very useful for CI/CD)") - cmd.Flags().BoolP("use-cdn", "c", false, "Use CDN for CSS and JS delivery instead of bundling inline") + cmd.Flags().Bool("use-cdn", false, "Use CDN for CSS and JS delivery instead of bundling inline") cmd.Flags().StringP("report-file", "", "report.html", "The name of the HTML report file (defaults to 'report.html')") return cmd diff --git a/cmd/markdown_report.go b/cmd/markdown_report.go index 520c3f1..be242d4 100644 --- a/cmd/markdown_report.go +++ b/cmd/markdown_report.go @@ -279,7 +279,7 @@ func GetMarkdownReportCommand() *cobra.Command { }, } cmd.Flags().BoolP("no-color", "n", false, "Disable color and style output (very useful for CI/CD)") - cmd.Flags().BoolP("use-cdn", "c", false, "Use CDN for CSS and JS delivery instead of bundling inline") + cmd.Flags().Bool("use-cdn", false, "Use CDN for CSS and JS delivery instead of bundling inline") cmd.Flags().StringP("report-file", "", "report.md", "The name of the Markdown report file (defaults to 'report.md')") return cmd