Skip to content

fix: Stop printing "pflag: help requested" when asked for help.#95

Merged
JeffFaer merged 1 commit intomainfrom
jfaer/help
Aug 29, 2025
Merged

fix: Stop printing "pflag: help requested" when asked for help.#95
JeffFaer merged 1 commit intomainfrom
jfaer/help

Conversation

@JeffFaer
Copy link
Collaborator

No description provided.

@JeffFaer JeffFaer enabled auto-merge (squash) August 29, 2025 15:36
Copy link
Member

@KatrinaHoffert KatrinaHoffert left a comment

Choose a reason for hiding this comment

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

What, you don't wanna know that help was requested?

But really, why does it do that? Have you considered seeing if they'd accept an upstream fix? Seems it's spf13/pflag#306. Which apparently has spf13/pflag#407 to fix it, but the maintainers haven't commented on it. At first I thought the repo may have been inactive, but then I noticed that there was a release just last month. So maybe worth reaching out to the maintainer to see if we can fix this upstream?

I know that's more work, so I'll approve anyway. But IMO it's the right move to take. I can't see it as intended behavior and it doesn't make sense for every pflags user to fix this themselves.

@JeffFaer JeffFaer merged commit 80b6daf into main Aug 29, 2025
8 checks passed
@JeffFaer JeffFaer deleted the jfaer/help branch August 29, 2025 17:52
JeffFaer added a commit that referenced this pull request Sep 9, 2025
JeffFaer added a commit that referenced this pull request Sep 9, 2025
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