Skip to content

Commit

Permalink
Update command description
Browse files Browse the repository at this point in the history
  • Loading branch information
uwej711 committed Mar 26, 2013
1 parent 006cca0 commit 52913c8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/PHPCR/Util/Console/Command/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,22 @@ protected function configure()
{
$this
->setName('phpcr:dump')
->addOption('sys_nodes', null, InputOption::VALUE_OPTIONAL, 'Set to "yes" to dump the system nodes', "no")
->addOption('props', null, InputOption::VALUE_OPTIONAL, 'Set to "yes" to dump the node properties', "no")
->addOption('sys_nodes', null, InputOption::VALUE_NONE, 'Use to dump the system nodes')
->addOption('props', null, InputOption::VALUE_NONE, 'Use to dump the node properties')
->addOption('depth', null, InputOption::VALUE_OPTIONAL, 'Set to a number to limit how deep into the tree to recurse', "-1")
->addOption('identifiers', null, InputOption::VALUE_OPTIONAL, 'Set to "yes" to also output node UUID', 'no')
->addArgument('identifier', InputArgument::OPTIONAL, 'Path or UUID of the node to dump', '/')
->addOption('identifiers', null, InputOption::VALUE_NONE, 'Use to also output node UUID')
->addArgument('identifier', InputArgument::OPTIONAL, 'Path of the node to dump', '/')
->setDescription('Dump the content repository')
->setHelp(<<<EOF
The <info>dump</info> command recursively outputs the name of the node specified
by the <info>path</info> argument and its subnodes in a yaml-like style.
by the <info>identifier</info> argument and its subnodes in a yaml-like style.
If the <info>props</info> option is set to yes the nodes properties are
If the <info>props</info> option is used the nodes properties are
displayed as yaml arrays.
By default the command filters out system nodes and properties (i.e. nodes and
properties with names starting with 'jcr:'), the <info>sys_nodes</info> option
allows to turn this filter off.
allows to turn this filter off.
EOF
)
;
Expand Down

0 comments on commit 52913c8

Please sign in to comment.