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

Re-introduce mandatory name for switch/flag #41

Merged
merged 1 commit into from
Mar 13, 2015
Merged

Conversation

charleso
Copy link
Collaborator

To make this a less intrusive change we could also introduce case class NameAndMeta(name: Name, meta: Meta) where short/long/both return that with the empty meta.

EDIT: Actually that still doesn't (necessarily) help, or at least it would have a monoid so the call site will still have to change.

@markhibberd
Copy link
Owner

👍

charleso added a commit that referenced this pull request Mar 13, 2015
Re-introduce mandatory name for switch/flag
@charleso charleso merged commit 618971e into master Mar 13, 2015
@charleso charleso deleted the topic/mandatory-flag branch March 13, 2015 03:04
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

Successfully merging this pull request may close these issues.

None yet

2 participants