Skip to content

Commit 6419952

Browse files
committed
fixed previous commit
1 parent 70f2b3e commit 6419952

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

src/Symfony/Component/Console/Tests/Command/ListCommandTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,22 @@ public function testExecuteListsCommandsNameAndNamespaceRaw()
7373
Console Tool
7474
7575
Usage:
76-
[options] command [arguments]
76+
command [options] [arguments]
7777
7878
Options:
79-
--help (-h) Display this help message.
80-
--quiet (-q) Do not output any message.
81-
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.
82-
--version (-V) Display this application version.
83-
--ansi Force ANSI output.
84-
--no-ansi Disable ANSI output.
85-
--no-interaction (-n) Do not ask any interactive question.
79+
--help -h Display this help message
80+
--quiet -q Do not output any message
81+
--verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
82+
--version -V Display this application version
83+
--ansi Force ANSI output
84+
--no-ansi Disable ANSI output
85+
--no-interaction -n Do not ask any interactive question
8686
8787
Available commands:
88-
help Displays help for a command
89-
list Lists commands
90-
<fg=blue>foo
91-
<fg=blue>foo:bar</fg=blue>
88+
help Displays help for a command
89+
list Lists commands
90+
0foo
91+
0foo:bar 0foo:bar command
9292
EOF;
9393

9494
$this->assertEquals($output, trim($commandTester->getDisplay(true)));

src/Symfony/Component/Console/Tests/Fixtures/Foo6Command.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class Foo6Command extends Command
77
{
88
protected function configure()
99
{
10-
$this->setName('<fg=blue>foo:bar</fg=blue>');
10+
$this->setName('0foo:bar')->setDescription('0foo:bar command');
1111
}
12-
1312
}

0 commit comments

Comments
 (0)