Long parameter with dash
nicolashohm opened this issue · comments
Nicolas Hohm commented
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
Nate Good commented
Confirmed bug. Will take a look at it. Thanks @nickel715!
Nate Good commented
Looks like this was fixed in recent work. Releasing a new build 0.2.6 now. That version should resolve this.