File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed
src/Symfony/Component/Console/Tests Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -73,22 +73,22 @@ public function testExecuteListsCommandsNameAndNamespaceRaw()
73
73
Console Tool
74
74
75
75
Usage:
76
- [options] command [arguments]
76
+ command [options] [arguments]
77
77
78
78
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
86
86
87
87
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
92
92
EOF ;
93
93
94
94
$ this ->assertEquals ($ output , trim ($ commandTester ->getDisplay (true )));
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ class Foo6Command extends Command
7
7
{
8
8
protected function configure ()
9
9
{
10
- $ this ->setName ('<fg=blue>foo :bar</fg=blue> ' );
10
+ $ this ->setName ('0foo :bar' )-> setDescription ( ' 0foo:bar command ' );
11
11
}
12
-
13
12
}
You can’t perform that action at this time.
0 commit comments