Browse Source

fix the Explain command

Thomas Rabaix 14 years ago
parent
commit
56ad599cb8
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Command/ExplainAdminCommand.php
  2. 1 0
      README.md

+ 1 - 1
Command/ExplainAdminCommand.php

@@ -67,7 +67,7 @@ class ExplainAdminCommand extends Command
 
         $output->writeln('');
         $output->writeln('<info>Form Options</info>');
-        $output->writeln(sprintf('  -  % -25s % -15s', 'validation_groups', implode('|', $admin->getForm()->getOption('validation_groups'))));
+//        $output->writeln(sprintf('  -  % -25s % -15s', 'validation_groups', implode('|', $admin->getFormBuilder()->getForm()->getOption('validation_groups'))));
         $output->writeln('');
 
         $output->writeln('<info>Form Fields</info>');

+ 1 - 0
README.md

@@ -76,6 +76,7 @@ Features
     - side menu option
     - Translated into 7 languages : DE, EN, ES, FR, NL, PL and RU.
     - Built to be extended
+    - Explain command line utility
 
 
 More information