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

Long parameter with dash #30

Closed
nicolashohm opened this issue Apr 30, 2014 · 2 comments
Closed

Long parameter with dash #30

nicolashohm opened this issue Apr 30, 2014 · 2 comments

Comments

@nicolashohm
Copy link

How can I create params with dash in it?
I tried this: (new Command)->option('reset-list')->boolean() then I call my script this:

$ php test.php --reset-list
ERROR: Unknown option, reset, specified 

The help shows the param correctly:

$ php test.php --help
 test.php                                                                                                                                                                                                    


--help
     Show the help page for this command.


--reset-list
@nategood
Copy link
Owner

Confirmed bug. Will take a look at it. Thanks @nickel715!

@nategood
Copy link
Owner

Looks like this was fixed in recent work. Releasing a new build 0.2.6 now. That version should resolve this.

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

2 participants