Skip to content

Fix Excel flag typo from --xslx to --xlsx in scan command#560

Merged
cmendible merged 2 commits intomainfrom
copilot/fix-558
Sep 5, 2025
Merged

Fix Excel flag typo from --xslx to --xlsx in scan command#560
cmendible merged 2 commits intomainfrom
copilot/fix-558

Conversation

Copy link
Contributor

Copilot AI commented Sep 5, 2025

This PR fixes a simple typo in the CLI flag for Excel report generation. The flag was incorrectly defined as --xslx instead of --xlsx to match the proper Excel file extension.

Changes

  • Updated flag definition in cmd/azqr/commands/scan.go from "xslx" to "xlsx"
  • Updated flag retrieval logic to use the corrected flag name

Before

      --xslx                              Create Excel report (default) (default true)

After

      --xlsx                              Create Excel report (default) (default true)

The fix ensures consistency with the standard Excel file extension format (.xlsx) and resolves the confusion mentioned in the help documentation.

Fixes #558.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: cmendible <266546+cmendible@users.noreply.github.com>
Copilot AI changed the title [WIP] Excel Flag Issue Fix Excel flag typo from --xslx to --xlsx in scan command Sep 5, 2025
Copilot AI requested a review from cmendible September 5, 2025 19:50
Copy link
Member

@cmendible cmendible left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmendible cmendible marked this pull request as ready for review September 5, 2025 19:55
@cmendible cmendible merged commit e17edd7 into main Sep 5, 2025
22 checks passed
@cmendible cmendible deleted the copilot/fix-558 branch September 5, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Excel Flag Issue

2 participants