diff --git a/doc/03-cli.md b/doc/03-cli.md index 93d30b2cc..b5f787db0 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -341,8 +341,8 @@ symfony/monolog-bridge requires monolog/monolog (>=1.2) symfony/symfony requires monolog/monolog (~1) ``` -If you want, for example, find any package that is **not** ready -for Symfony 3 or one of its components, you can run the following command: +If you want, for example, find any installed package that is **not** allowing +Symfony version 3 or one of its components, you can run the following command: ```sh php composer.phar depends symfony/symfony --with-replaces -im ^3.0 diff --git a/src/Composer/Command/DependsCommand.php b/src/Composer/Command/DependsCommand.php index d38c3d9db..a58e7c5be 100644 --- a/src/Composer/Command/DependsCommand.php +++ b/src/Composer/Command/DependsCommand.php @@ -46,7 +46,7 @@ class DependsCommand extends Command new InputArgument('package', InputArgument::REQUIRED, 'Package to inspect'), new InputOption('link-type', '', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Link types to show (require, require-dev)', array_keys($this->linkTypes)), new InputOption('match-constraint', 'm', InputOption::VALUE_REQUIRED, 'Filters the dependencies shown using this constraint', '*'), - new InputOption('invert-match-constraint', 'i', InputOption::VALUE_NONE, 'Turns --match-constraint around into a blacklist insteead of whitelist'), + new InputOption('invert-match-constraint', 'i', InputOption::VALUE_NONE, 'Turns --match-constraint around into a blacklist instead of whitelist'), new InputOption('with-replaces', '', InputOption::VALUE_NONE, 'Search for replaced packages as well'), )) ->setHelp(<<