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

allow value delimiter to be changed #353

Closed
kbknapp opened this issue Nov 30, 2015 · 3 comments
Closed

allow value delimiter to be changed #353

kbknapp opened this issue Nov 30, 2015 · 3 comments
Labels
E-medium Call for participation: Experience needed to fix: Medium / intermediate
Milestone

Comments

@kbknapp
Copy link
Member

kbknapp commented Nov 30, 2015

Relates to #348 and #352 and requires those to be implemented first.

This would default to , (comma), but allow the user to change the value delimiter to any other arbitrary character using something like Arg::value_delim(char)

For example, if I wanted to change the delimiter to ; (semicolon) I could use Arg::value_delim(';') and then val1;val2;val3 would be parsed as 3 values but val1,val2,val3 would only be parsed as a single value.

@kbknapp kbknapp added T: new feature E-medium Call for participation: Experience needed to fix: Medium / intermediate labels Nov 30, 2015
@Vinatorul
Copy link
Contributor

Wow, this is very cool! Great idea, I will do at free time closer to end of the month, if it willn't be done.

I will be able to change my custom validation in minesweeper.

@kbknapp kbknapp added this to the 1.6.0 milestone Dec 18, 2015
@kbknapp kbknapp modified the milestones: v2.0, 1.6.0 Jan 23, 2016
@kbknapp
Copy link
Member Author

kbknapp commented Jan 25, 2016

Requires #348

kbknapp added a commit that referenced this issue Jan 26, 2016
@kbknapp
Copy link
Member Author

kbknapp commented Jan 26, 2016

Closed with #388

@kbknapp kbknapp closed this as completed Jan 26, 2016
kbknapp added a commit that referenced this issue Jan 28, 2016
kbknapp added a commit that referenced this issue Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-medium Call for participation: Experience needed to fix: Medium / intermediate
Projects
None yet
Development

No branches or pull requests

2 participants