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

Improve styling of multiple options #37

Closed
jdkato opened this issue Mar 28, 2017 · 1 comment
Closed

Improve styling of multiple options #37

jdkato opened this issue Mar 28, 2017 · 1 comment

Comments

@jdkato
Copy link
Member

jdkato commented Mar 28, 2017

For example,

message: Use "%s" instead of "%s"
swap:
  foo: bar or baz #  currently the only way to list multiple options

results in Use "bar or baz" instead of "foo". I think it would be better as something like:

foo: [bar, baz] # => Use "bar" or "baz" instead of "foo"
jdkato added a commit that referenced this issue Apr 1, 2017
@jdkato
Copy link
Member Author

jdkato commented Apr 2, 2017

I think I've changed my mind about this: with the current implementation you get the nicer formatting mentioned above (as done in c77c99b) without being restricted to an array.

@jdkato jdkato closed this as completed Apr 2, 2017
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