Skip to content

Commit 52913c8

Browse files
committed
Update command description
1 parent 006cca0 commit 52913c8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/PHPCR/Util/Console/Command/DumpCommand.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,22 @@ protected function configure()
5656
{
5757
$this
5858
->setName('phpcr:dump')
59-
->addOption('sys_nodes', null, InputOption::VALUE_OPTIONAL, 'Set to "yes" to dump the system nodes', "no")
60-
->addOption('props', null, InputOption::VALUE_OPTIONAL, 'Set to "yes" to dump the node properties', "no")
59+
->addOption('sys_nodes', null, InputOption::VALUE_NONE, 'Use to dump the system nodes')
60+
->addOption('props', null, InputOption::VALUE_NONE, 'Use to dump the node properties')
6161
->addOption('depth', null, InputOption::VALUE_OPTIONAL, 'Set to a number to limit how deep into the tree to recurse', "-1")
62-
->addOption('identifiers', null, InputOption::VALUE_OPTIONAL, 'Set to "yes" to also output node UUID', 'no')
63-
->addArgument('identifier', InputArgument::OPTIONAL, 'Path or UUID of the node to dump', '/')
62+
->addOption('identifiers', null, InputOption::VALUE_NONE, 'Use to also output node UUID')
63+
->addArgument('identifier', InputArgument::OPTIONAL, 'Path of the node to dump', '/')
6464
->setDescription('Dump the content repository')
6565
->setHelp(<<<EOF
6666
The <info>dump</info> command recursively outputs the name of the node specified
67-
by the <info>path</info> argument and its subnodes in a yaml-like style.
67+
by the <info>identifier</info> argument and its subnodes in a yaml-like style.
6868
69-
If the <info>props</info> option is set to yes the nodes properties are
69+
If the <info>props</info> option is used the nodes properties are
7070
displayed as yaml arrays.
7171
By default the command filters out system nodes and properties (i.e. nodes and
7272
properties with names starting with 'jcr:'), the <info>sys_nodes</info> option
7373
allows to turn this filter off.
74+
allows to turn this filter off.
7475
EOF
7576
)
7677
;

0 commit comments

Comments
 (0)