phpcr/phpcr-utils — pull request #37 by sixty-nine (2013-02-07 10:40:11+00:00)
Title: Allow short syntax for the boolean parameters of the commands

Attention: this commit changes the syntax of the commands, it creates a potential BC break for the scripts using the commands.

Two commands (phpcr:dump and phpcr:purge) allow boolean parameters (true or false). Those commands must actually be entered as:

phpcr phpcr:purge --force=true

This commit modifies the syntax for those parameters as follows:

phpcr phpcr:purge --force

If the option is specified (without value) then it becomes true, otherwise it is false.

This will make the old syntax not working anymore.

The affected parameters are:

phpcr:purge --force
phpcr:dump --props --sys_nodes --identifiers

Additionally this makes the file Helper\ConsoleParametersParser obsolete. It could be removed if this is merged.