Skip to content

Commit 84d33cf

Browse files
committed
add command argument to sample code you must submit this value
1 parent 3162e83 commit 84d33cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cookbook/console.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,9 @@ Calling a command from another one is straightforward::
271271
$command = $this->getApplication()->find('demo:greet');
272272

273273
$arguments = array(
274-
'name' => 'Fabien',
275-
'--yell' => true,
274+
'command' => 'demo:greet',
275+
'name' => 'Fabien',
276+
'--yell' => true,
276277
);
277278

278279
$input = new ArrayInput($arguments);

0 commit comments

Comments
 (0)