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

Fixed show, set command arguments. #61

Merged
merged 3 commits into from
Jul 10, 2015

Conversation

Licenser
Copy link
Contributor

@Licenser Licenser commented Jul 9, 2015

From what I can tell: show, set, describe - the clique internal arguments get a special treatment as they behave differently then other commands. cmd_spec is use to generate a wrapper to prevent some of the processing to be done on the arguments.

The returned function had the arity of 2 however clique_command:run expects a function with the arity of 3. The patch returns a function of the arity of 3 by simply ignoring the first argument.

@nickelization
Copy link
Contributor

Thank you very much, @Licenser! Not sure how this one slipped past us. Your fix looks great, and is much appreciated.

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