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

Option to accept multiple options not documented #70

Open
alerque opened this issue Sep 18, 2021 · 0 comments
Open

Option to accept multiple options not documented #70

alerque opened this issue Sep 18, 2021 · 0 comments

Comments

@alerque
Copy link
Member

alerque commented Sep 18, 2021

Setting the "default" value for an option to an empty table seems to enable that option to be specified multiple times and return a table instead of a string, but this does not seem to be documented:

cli:option("-f, --foo=VALUE", "set foo", {})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant