Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #756 SSH cmd line parsing error to write to user instead of stderr #757

Merged
merged 1 commit into from Nov 23, 2022

Conversation

brad-defined
Copy link
Collaborator

Fix #756

//TODO: handle the error
fl.Parse(args)
// SetOutput() here in case fl.Parse dumps usage.
fl.SetOutput(w.GetWriter())
Copy link
Collaborator

Choose a reason for hiding this comment

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

so this has fl write errors to w instead of stderr then?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes

Copy link
Collaborator

@jasikpark jasikpark left a comment

Choose a reason for hiding this comment

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

lgtm

@nbrownus nbrownus merged commit 9a8892c into slackhq:master Nov 23, 2022
@wadey wadey added this to the v1.7.0 milestone Feb 20, 2023
gabos31 pushed a commit to oneclick-ag/nebula that referenced this pull request Jul 4, 2023
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.

🐛 BUG: ssh "invalid flag" help output goes to stderr
4 participants