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

Suggestion: there should be separate dividers for hierarchies and multi-word options within the same hierarchy #29

Open
e-nikolov opened this issue Jul 27, 2021 · 0 comments

Comments

@e-nikolov
Copy link

For example

type Multi struct {
	Word Word
}

type Word struct {
	String string
}

type Config struct {
	Multi     *Multi
	MultiWord *Word
}

This sort of config results in both of those options being turned into the flag multi-word-string . This causes some issues when sflags is used in combination with config file parsing libraries because it's impossible to automatically determine if multi-word-string is multi.word.string or multi-word.string.

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

1 participant