Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

Backport

This PR is auto-generated from #37645 to be assessed for backporting due to the inclusion of the label 1.14-backport.

The below text is copied from the body of the original PR.


Description

This PR provide the raw args to the StacksCommand's Help() which allows for the more typical -help usage rather than strictly requiring the -usage flag for command usage information.

We previously ran into trouble with the handling of the -help flag in regards to the the stacks CLI plugin. Notably since the cli runner strips the -help flag from the args passed to the command's Run implementation. At the time we encountered this we opted for a stop gap solution of using the -usage flag for help texts. This PR at adds the ability to properly handle the help flag.

Target Release

1.14.x

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

Overview of commits

@liamcervante liamcervante marked this pull request as ready for review September 23, 2025 06:25
@liamcervante liamcervante requested a review from a team as a code owner September 23, 2025 06:25
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.

2 participants