Closed nicolashohm closed 10 years ago
How can I create params with dash in it? I tried this: (new Command)->option('reset-list')->boolean() then I call my script this:
(new Command)->option('reset-list')->boolean()
$ 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
Confirmed bug. Will take a look at it. Thanks @nickel715!
Looks like this was fixed in recent work. Releasing a new build 0.2.6 now. That version should resolve this.
How can I create params with dash in it? I tried this:
(new Command)->option('reset-list')->boolean()
then I call my script this:The help shows the param correctly: