Skip to content

Commit 3208cdf

Browse files
committed
Debugging Shell not accepting multiple args.
1 parent 4b1fbf4 commit 3208cdf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/Shell/ConfigReadShell.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,13 @@ public function getOptionParser() {
219219
$parser = parent::getOptionParser();
220220
$parser
221221
->addArgument('key', array(
222-
'help' => 'The Key.name to fetch from Configure::read(). Multiple keys may be specified, separated by spaces.',
222+
'help' => 'The Key.name to fetch from Configure::read().',
223223
'required' => true,
224224
))
225+
->addArgument('key2', array(
226+
'help' => 'Multiple keys may be specified, separated by spaces.',
227+
'required' => false,
228+
))
225229
->addOption('bash', array(
226230
'short' => 'b',
227231
'boolean' => true,

0 commit comments

Comments
 (0)