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

How to avoid unknown option error? #426

Closed
s-a opened this issue Jul 31, 2015 · 2 comments
Closed

How to avoid unknown option error? #426

s-a opened this issue Jul 31, 2015 · 2 comments

Comments

@s-a
Copy link

s-a commented Jul 31, 2015

I need to allow any parameters.

@atian25
Copy link

atian25 commented Aug 20, 2015

#310

@s-a s-a closed this as completed Aug 20, 2015
@tkarls
Copy link

tkarls commented Feb 17, 2017

For any one else finding this via google.

Function was renamed to .allowUnknownOption()

program
    .command('my-command')
    .allowUnknownOption()
    .option(...

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

3 participants