Skip to content

Commit e16ccaa

Browse files
author
Hugo Hamon
committed
[SecurityBundle] added short description and help for the init:acl command.
1 parent e90efdc commit e16ccaa

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Command/InitAclCommand.php

+13-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,19 @@ protected function configure()
3131
{
3232
$this
3333
->setName('init:acl')
34-
;
34+
->setDescription('Mounts ACL tables in the database')
35+
->setHelp(<<<EOT
36+
The <info>init:acl</info> command mounts ACL tables in the database.
37+
38+
<info>php app/console ini:acl</info>
39+
40+
The name of the DBAL connection must be configured in your <info>app/config/security.yml</info> configuration file in the <info>security.acl.connection</info> variable.
41+
42+
<info>security:
43+
acl:
44+
connection: default</info>
45+
EOT
46+
);
3547
}
3648

3749
/**

0 commit comments

Comments
 (0)