diff --git a/doc/usage.rst b/doc/usage.rst index 8aabd15f555..37437b0d7a8 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -147,7 +147,7 @@ Note: You need to pass the config to the ``fix`` command, in order to make it wo .. code-block:: console - $ php php-cs-fixer.phar list-files --config=.php_cs.dist | xargs -n 10 -P 8 php-cs-fixer fix --config=.php_cs.dist + $ php php-cs-fixer.phar list-files --config=.php-cs-fixer.dist.php | xargs -n 10 -P 8 php php-cs-fixer.phar fix --config=.php-cs-fixer.dist.php --path-mode intersection -v * `-n` defines how many files a single subprocess process * `-P` defines how many subprocesses the shell is allowed to spawn for parallel processing (usually similar to the number of CPUs your system has)