@@ -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
6666The <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
7070displayed as yaml arrays.
7171By default the command filters out system nodes and properties (i.e. nodes and
7272properties with names starting with 'jcr:'), the <info>sys_nodes</info> option
7373allows to turn this filter off.
74+ allows to turn this filter off.
7475EOF
7576 )
7677 ;
0 commit comments