Skip to content

Commit f8afe02

Browse files
committed
Add help description to debug:form command
1 parent 3d799dd commit f8afe02

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Symfony/Component/Form/Command/DebugCommand.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ protected function configure()
5151
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt or json)', 'txt'),
5252
))
5353
->setDescription('Displays form type information')
54+
->setHelp(<<<'EOF'
55+
The <info>%command.name%</info> command displays information about a form type.
56+
57+
Either the fully-qualified class name or the short class name can be used:
58+
59+
<info>php %command.full_name% Symfony\Component\Form\Extension\Core\Type\ChoiceType</info>
60+
<info>php %command.full_name% ChoiceType</info>
61+
62+
EOF
63+
)
5464
;
5565
}
5666

0 commit comments

Comments
 (0)