We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99328ca commit 64213ccCopy full SHA for 64213cc
src/PHPixie/CLI/Context/SAPI.php
@@ -110,7 +110,7 @@ public function requireParsedArguments()
110
continue;
111
}
112
113
- if(preg_match('#^--([a-z0-9]+)(?:=(.*))?$#i', $parameter, $matches)) {
+ if(preg_match('#^--([a-z0-9\-]+)(?:=(.*))?$#i', $parameter, $matches)) {
114
$option = $matches[1];
115
116
if(!empty($matches[2])) {
0 commit comments