Browse Source

[Console] fixed default message layout

Fabien Potencier 15 năm trước cách đây
mục cha
commit
7c727355d1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Symfony/Components/Console/Application.php

+ 1 - 1
src/Symfony/Components/Console/Application.php

@@ -255,7 +255,7 @@ class Application
 
     foreach ($this->definition->getOptions() as $option)
     {
-      $messages[] = sprintf('  %-24s %s  %s',
+      $messages[] = sprintf('  %-29s %s %s',
         '<info>--'.$option->getName().'</info>',
         $option->getShortcut() ? '<info>-'.$option->getShortcut().'</info>' : '  ',
         $option->getDescription()