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

Support lists of values #18

Open
kynikos opened this issue Aug 7, 2015 · 0 comments
Open

Support lists of values #18

kynikos opened this issue Aug 7, 2015 · 0 comments

Comments

@kynikos
Copy link
Owner

kynikos commented Aug 7, 2015

By default, if a key is duplicated in a section, its value is assigned with the cascading rule.
Optionally, instead, interpret this as the definition of a list, with each duplicated key hosting an item:

option = aaa
option = bbb
option = ccc

Alternatively, support interpreting numbered suffixes as list items, for example:

option[1] = aaa
option[2] = bbb
option[3] = ccc

Or distinguish lists from normal keys with a special prefix:

*option = aaa
*option = bbb
*option = ccc
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