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

Fixing not properly displayed options #1595

Conversation

zikalino
Copy link
Contributor

This fixes improperly displayed options as described here:

#1594

@zikalino zikalino force-pushed the zikalino-fixing-improperly-displayed-options branch from a35e5aa to a100059 Compare October 18, 2024 12:16
Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

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

👍 Great catch! Thanks for the fix!

There are probably other places we could benefit from similar changes. The behavior itself seems to come from the pflags package:

https://github.com/spf13/pflag/blob/d5e0c0615acee7028e1e2740a11102313be88de1/flag.go#L568-L573

@andrewsomething andrewsomething merged commit a978300 into digitalocean:main Oct 18, 2024
8 checks passed
@zikalino
Copy link
Contributor Author

zikalino commented Oct 18, 2024

@andrewsomething thanks for merging!
I think i located all the places where slug was not quoted, if i found anything else causing similar problems i will make another PR :-)

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