Skip to content

Commit 2ff25d2

Browse files
committed
minor #62 Minor doc fixes (javiereguiluz)
This PR was merged into the 1.0-dev branch. Discussion ---------- Minor doc fixes Commits ------- 0421622 Minor doc fixes
2 parents cc06f19 + 0421622 commit 2ff25d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Resources/doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Creating your Own Makers
4747
In case your applications need to generate custom boilerplate code, you can
4848
create your own ``make:...`` command reusing the tools provided by this bundle.
4949
Imagine that you need to create a ``make:report`` command. First, create a
50-
class that implements :class:`Symfony\\Bundle\\MakerBundle\\MakerInterface`:
50+
class that implements :class:`Symfony\\Bundle\\MakerBundle\\MakerInterface`::
5151

5252
// src/Maker/ReportMaker.php
5353
namespace App\Maker;
@@ -72,8 +72,8 @@ class that implements :class:`Symfony\\Bundle\\MakerBundle\\MakerInterface`:
7272
public function configureCommand(Command $command, InputConfiguration $inputConf): void
7373
{
7474
$command
75-
->setDescription('Creates a new console command class')
76-
->addArgument('name', InputArgument::OPTIONAL, sprintf('Choose a command name (e.g. <fg=yellow>app:%s</>)', Str::asCommand(Str::getRandomTerm())))
75+
->setDescription('Creates a new report')
76+
->addArgument('name', InputArgument::OPTIONAL, 'Choose the report format', 'pdf')
7777
;
7878
}
7979

0 commit comments

Comments
 (0)