소스 검색

[Console] fixed console help printing expectations

everzet 14 년 전
부모
커밋
e49d61f86e

+ 9 - 9
tests/Symfony/Tests/Component/Console/Fixtures/application_run2.txt

@@ -2,17 +2,17 @@ Usage:
  help [--xml] [command_name]
 
 Arguments:
- command           The command to execute
- command_name      The command name (default: help)
+ command               The command to execute
+ command_name          The command name (default: help)
 
 Options:
- --xml To output help as XML
- --help (-h) Display this help message.
- --quiet (-q) Do not output any message.
- --verbose (-v) Increase verbosity of messages.
- --version (-V) Display this program version.
- --ansi Force ANSI output.
- --no-ansi Disable ANSI output.
+ --xml                 To output help as XML
+ --help (-h)           Display this help message.
+ --quiet (-q)          Do not output any message.
+ --verbose (-v)        Increase verbosity of messages.
+ --version (-V)        Display this program version.
+ --ansi                Force ANSI output.
+ --no-ansi             Disable ANSI output.
  --no-interaction (-n) Do not ask any interactive question.
 
 Help:

+ 1 - 1
tests/Symfony/Tests/Component/Console/Fixtures/application_run3.txt

@@ -5,7 +5,7 @@ Arguments:
  namespace  The namespace name
 
 Options:
- --xml To output help as XML
+ --xml      To output help as XML
 
 Help:
  The list command lists all commands:

+ 7 - 7
tests/Symfony/Tests/Component/Console/Fixtures/command_astext.txt

@@ -3,15 +3,15 @@
 
 <comment>Aliases:</comment> <info>name</info>
 <comment>Arguments:</comment>
- <info>command          </info> The command to execute
+ <info>command              </info> The command to execute
 
 <comment>Options:</comment>
- <info>--help</info> (-h) Display this help message.
- <info>--quiet</info> (-q) Do not output any message.
- <info>--verbose</info> (-v) Increase verbosity of messages.
- <info>--version</info> (-V) Display this program version.
- <info>--ansi</info> Force ANSI output.
- <info>--no-ansi</info> Disable ANSI output.
+ <info>--help</info> (-h)           Display this help message.
+ <info>--quiet</info> (-q)          Do not output any message.
+ <info>--verbose</info> (-v)        Increase verbosity of messages.
+ <info>--version</info> (-V)        Display this program version.
+ <info>--ansi</info>                Force ANSI output.
+ <info>--no-ansi</info>             Disable ANSI output.
  <info>--no-interaction</info> (-n) Do not ask any interactive question.
 
 <comment>Help:</comment>

+ 2 - 2
tests/Symfony/Tests/Component/Console/Fixtures/definition_astext.txt

@@ -1,6 +1,6 @@
 <comment>Arguments:</comment>
- <info>foo   </info> The bar argument
- <info>bar   </info> The foo argument<comment> (default: array (  0 => 'bar',))</comment>
+ <info>foo       </info> The bar argument
+ <info>bar       </info> The foo argument<comment> (default: array (  0 => 'bar',))</comment>
 
 <comment>Options:</comment>
  <info>--foo</info> (-f) The foo option