Skip to content

[WIP] Apply changes based on feedback#2

Merged
TimSoethout merged 2 commits intomainfrom
copilot/apply-feedback-changes
Feb 26, 2026
Merged

[WIP] Apply changes based on feedback#2
TimSoethout merged 2 commits intomainfrom
copilot/apply-feedback-changes

Conversation

Copy link

Copilot AI commented Feb 26, 2026

  • Move HideHelpCommand: true from the root command to the frobbly leaf subcommand in TestShowSubcommandHelp_GlobalOptions_HideHelpCommand
  • Verified test fails without the fix and passes with the fix
  • Ran full test suite - all tests pass
  • Code review: no issues
  • CodeQL: no alerts

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…e fix

Co-authored-by: TimSoethout <593132+TimSoethout@users.noreply.github.com>
@TimSoethout TimSoethout marked this pull request as ready for review February 26, 2026 19:36
Copilot AI review requested due to automatic review settings February 26, 2026 19:36
@TimSoethout TimSoethout merged commit 7289ef9 into main Feb 26, 2026
@TimSoethout TimSoethout deleted the copilot/apply-feedback-changes branch February 26, 2026 19:36
Copilot stopped work on behalf of TimSoethout due to an error February 26, 2026 19:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR applies feedback from a previous review by moving the HideHelpCommand configuration from the root command to the appropriate subcommand level in a test. The PR also cleans up Go module dependency declarations by removing redundant indirect dependency listings and stale go.sum entries.

Changes:

  • Moved HideHelpCommand: true from root command to frobbly subcommand in TestShowSubcommandHelp_GlobalOptions_HideHelpCommand test
  • Removed explicit indirect dependencies declaration from docs/go.mod
  • Cleaned up duplicate and outdated dependency entries from docs/go.sum

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
help_test.go Correctly places HideHelpCommand: true on the frobbly subcommand instead of the root command, aligning with how the flag works (per-command, not inherited)
docs/go.mod Removes unnecessary explicit require block for indirect dependencies
docs/go.sum Removes duplicate and outdated dependency entries (old versions of BurntSushi/toml, stretchr/testify, urfave/cli-altsrc, gopkg.in/check.v1)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants