Is there any way to define option as string containing spaces, like this
$myscript.php test --comment="some string"
It outputs:
[RuntimeException]
Too many arguments.
test [-c|--comment="..."]
However, it works if --comment doesn't contain spaces (for example: "some_string").
I ran into the same problem. Maybe your myscript.php
is passing the arguments the wrong way. Check this issue on github: https://github.com/symfony/symfony/issues/11205
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With