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

Consistent documented parsing for stringtostring #39

Closed
xloem opened this issue Oct 31, 2020 · 2 comments
Closed

Consistent documented parsing for stringtostring #39

xloem opened this issue Oct 31, 2020 · 2 comments

Comments

@xloem
Copy link

xloem commented Oct 31, 2020

I'm having some trouble passing an element of a map to stringtostring, where the value may or may not contain equal signs, quotes, and/or commas. It seems there is no normative passing, quoting, escaping mechanism.

The documentation says the items won't be split on commas, but if they contain an equal sign, they are. Then to have the commas and quotes preserved, they must be quoted: but this won't be correct if they don't contain an equal sign, no?

@ogier
Copy link
Owner

ogier commented Nov 9, 2020

I believe this is something only available in the spf13/pflag fork. Please submit this issue there if you think there is a problem. Closing as I don't think it's relevant here.

@ogier ogier closed this as completed Nov 9, 2020
@xloem
Copy link
Author

xloem commented Nov 9, 2020

thanks; wrong repository !

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

No branches or pull requests

2 participants