From db1d58f3d3937253c2b336619de2855e1f392c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Wed, 8 Jul 2015 21:42:52 -0400 Subject: [PATCH 1/2] Fix: Append colon to option name (for consistency) --- doc/03-cli.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index 574958d52..c1ac86257 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -142,7 +142,7 @@ php composer.phar update vendor/* a bit of time to run so it is currently not done by default. * **--lock:** Only updates the lock file hash to suppress warning about the lock file being out of date. -* **--with-dependencies** Add also all dependencies of whitelisted packages to the whitelist. +* **--with-dependencies:** Add also all dependencies of whitelisted packages to the whitelist. * **--prefer-stable:** Prefer stable versions of dependencies. * **--prefer-lowest:** Prefer lowest versions of dependencies. Useful for testing minimal versions of requirements, generally used with `--prefer-stable`. @@ -177,10 +177,10 @@ php composer.phar require vendor/package:2.* vendor/package2:dev-master * **--no-update:** Disables the automatic update of the dependencies. * **--no-progress:** Removes the progress display that can mess with some terminals or scripts which don't handle backspace characters. -* **--update-no-dev** Run the dependency update with the --no-dev option. -* **--update-with-dependencies** Also update dependencies of the newly +* **--update-no-dev:** Run the dependency update with the --no-dev option. +* **--update-with-dependencies:** Also update dependencies of the newly required packages. -* **--sort-packages** Keep packages sorted in `composer.json`. +* **--sort-packages:** Keep packages sorted in `composer.json`. ## remove @@ -202,8 +202,8 @@ uninstalled. * **--no-update:** Disables the automatic update of the dependencies. * **--no-progress:** Removes the progress display that can mess with some terminals or scripts which don't handle backspace characters. -* **--update-no-dev** Run the dependency update with the --no-dev option. -* **--update-with-dependencies** Also update dependencies of the removed packages. +* **--update-no-dev:** Run the dependency update with the --no-dev option. +* **--update-with-dependencies:** Also update dependencies of the removed packages. ## global From 8b7f2c4984b1aeb75e8a206787559cc72d8f044e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Mo=CC=88ller?= Date: Wed, 8 Jul 2015 21:45:46 -0400 Subject: [PATCH 2/2] Fix: Render option mono-spaced --- doc/03-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index c1ac86257..12d3c6171 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -177,7 +177,7 @@ php composer.phar require vendor/package:2.* vendor/package2:dev-master * **--no-update:** Disables the automatic update of the dependencies. * **--no-progress:** Removes the progress display that can mess with some terminals or scripts which don't handle backspace characters. -* **--update-no-dev:** Run the dependency update with the --no-dev option. +* **--update-no-dev:** Run the dependency update with the `--no-dev` option. * **--update-with-dependencies:** Also update dependencies of the newly required packages. * **--sort-packages:** Keep packages sorted in `composer.json`.