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 a75b027 commit 1a20553Copy full SHA for 1a20553
src/App.php
@@ -98,7 +98,7 @@ public function __construct(array $argv = null)
98
$this->script = array_shift($argv);
99
100
// parse flags
101
- [$this->args, $this->opts] = Flags::parseArgv($argv, [
+ [$this->args, $this->opts] = Flags::parseArgv(array_values($argv), [
102
'mergeOpts' => true
103
]);
104
}
0 commit comments